On the Subject of Assembly Code
Why are registers important, when you are already modifying them!
On the module, there are 3 displays. The left display will have 8 "codes", the top display will have a description of what a "code" does, and the right display tells you the position of the list you are in.
The list on the left of the module is index-0.
To solve the module, multiply the number of AA batteries by 2 and add 1. Modulo 8 and add 1 again. If there is any Lines of code, Scripting, or Brainf---, the number is 0. This number is the "code" you are going to solve for in each stage, where the "code" is the 3-5 letter word on the left of the module and the 2nd column in the list below.
Refer to the list below to get the description. You can also use the 2 buttons to cycle through the descriptions on the top of the module.
Index | Code | Meaning |
---|---|---|
1 | AAA | ASCII adjust AL after addition |
2 | AAD | ASCII adjust AX before division |
3 | AAM | ASCII adjust AX after multiplication |
4 | AAS | ASCII adjust AL after subtraction |
5 | ADC | Add with carry |
6 | ADD | Add |
7 | AND | Logical AND |
8 | CALL | Call procedure |
9 | CBW | Convert byte to word |
10 | CLC | Clear carry flag |
11 | CLD | Clear direction flag |
12 | CLI | Clear interrupt flag |
13 | CMC | Complement carry flag |
14 | CMP | Compare operands |
15 | CMPSB | Compare bytes in memory |
16 | CMPSW | Compare words |
17 | CWD | Convert word to doubleword |