AAB: Difference between revisions
Jump to navigation
Jump to search
m (minor edit) |
|||
Line 17: | Line 17: | ||
*{{ND-doc|06.029.01|Page 85}} | *{{ND-doc|06.029.01|Page 85}} | ||
[[Category:ND-100 instructions] | [[Category:ND-100 instructions]] | ||
Latest revision as of 07:50, 18 August 2011
AAB | |
---|---|
Description | Add argument to B register |
Format | AAB <argument> |
Code | 172 0008 |
Affected | B:=B+argument, C, O, Q |
Type | User |
Architecture | ND-100, ND-110 |
AAB is an assembly instruction. The 8-bit argument (the lower 8 bits of the 16-bit instruction word) is sign-extended to 16 bits and added to the B register. The result is left in the B register.
Flags affected
C, O and Q may be affected as for the ADD instruction.
References
- Norsk Data Document ND–06.014.02 ND-100 REFERENCE MANUAL Page 164/3.2.2.5
- Norsk Data Document ND–06.029.01 ND-110 Instruction Set Page 85