On the Subject of Assembly Code
At least this module doesn’t have you interpreting any code.
On the module, there are 3 displays. The left display will have 8 program “codes”, while the top and right display will show the description and the index of the currently selected current code.
There are 3 stages. For each stage:
- If there are any Lines of code, Scripting, or Brainf--- modules on the bomb, get the 1st code of the left display.
- Otherwise, if the number of AA batteries is a multiple of 4, take the 3rd code of the left display.
- Otherwise*, take the 7th code of the left display.
- Use the arrow buttons to match the index and the description with the retrieved code according to the list below.
- Press the top display to submit the current stage. Submitting the 3 stages correctly solves the module.
* If the number of AA batteries is not a multiple of 2, then use the original manual for the solving process.
| Index | Code | Description |
|---|---|---|
| 0 | AAA | ASCII adjust AL after addition |
| 1 | AAD | ASCII adjust AX before division |
| 2 | AAM | ASCII adjust AX after multiplication |
| 3 | AAS | ASCII adjust AL after subtraction |
| 4 | ADC | Add with carry |
| 5 | ADD | Add |
| 6 | AND | Logical AND |
| 7 | CALL | Call procedure |
| 8 | CBW | Convert byte to word |
| 9 | CLC | Clear carry flag |
| 10 | CLD | Clear direction flag |
| 11 | CLI | Clear interrupt flag |