Write your code in the list assembly code, one line per row; You <must> put a semicolon at the end of each lines, excepted for labels. Otherwise, the line will be ignored. This way, you can write comments. Anything after a semicolon will be ignored
(NIY) = Not implemented yet To refer to: - Registers: %reg - Numerical value: 0bBINARY (NIY) 0xHEX (NIY) DEC - Value at adress [adress] - Value at register [reg] (0) -> HLT (1) -> MOV reg, reg (2) -> MOV reg, address (3) -> MOV reg, constant (4) -> MOV address, reg (5) -> MOV address, constant (6) -> ADD reg, reg (7) -> ADD reg, address (8) -> ADD reg, constant (9) -> SUB reg, reg (10) -> SUB reg, address (11) -> SUB reg, constant (12) -> INC reg (13) -> DEC reg (31) -> JMP adress (AMOGUS) (34) -> PUSH reg (35) -> PUSH address (36) -> PUSH constant (35) -> POP reg (NIY) (36) -> RET (NIY) (37) -> CALL address (NIY) The registers are: r1 --> r11, (Read and write) Z, C, F, IP (Cannot be modified)