stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. IC10 academy
  3. Day 28

Day 28 of 365 · Beginner · Month 1: First steps

Review week 4: deciding without jumps

Eleven questions on the fourth week: set instructions, select, logic, min, max, abs, sgn and the four ways to round.

Review 12 min Week 4

What you learn today

  • Quiz on set instructions, logic and rounding

This week was about deciding without jumps. A comparison becomes a number, the number switches a device directly or picks a value with select. The quiz covers:

  • Set instructions: sgt, slt & co. return 0 or 1, the z variants compare with zero, seqz flips 0 and 1.
  • select: non-zero takes the first value, 0 the second.
  • Logic: and, or, xor, nor – bitwise, so only use them with clean 0/1 values. nor returns −1 instead of 1.
  • min, max, abs, sgn: limits, distance and direction.
  • Rounding: round, trunc, floor, ceil and the difference for negative numbers.

You pass from 60 %.

Tip

Questions of the form “What is in r0 after …?” can be checked right in the IC10 coder: type the line, run one tick, read the register.

Weekly quiz

11 questions. You pass from 60 % – the server does the grading.

Complete the day

  • Passed the quiz with at least 60 %

Without an account progress is saved in this browser only.

Report a mistake in this lesson

Please sign in to report. Sign in

Esc
↑ ↓ selectEnter open/ opens search anywhere