Step-by-step instructions | official mnemonics | in hexadecimal | now in binary |
Think of the number 6, call it A. | MOV AL, 6 | B0 06 | 1011000000000110 |
Think of the number 9, call it B. | MOV BL, 9 | B3 09 | 1011001100001001 |
Multiply A by B. | MUL AL, BL | F6 E3 | 1111011011100011 |
Think of the number 11 instead of 9, call it B. | MOV BL, 11 | B3 0B | 1011001100001011 |
Add B to A. | ADD AL, BL | 02 C3 | 0000001011000011 |
Display the answer, A. | OUT 2, AL | E6 02 | 1110011000000010 |