AAA: Difference between revisions
Jump to navigation
Jump to search
(AAA instruction) |
(AAA: Flags affected) |
||
Line 4: | Line 4: | ||
|Format=AAA ''<argument>'' | |Format=AAA ''<argument>'' | ||
|Code=172 400 | |Code=172 400 | ||
|Affected=A | |Affected=A:=A+argument, C, O, Q | ||
|Architecture=[[ND-100]], [[ND-110 CPU|ND-110]] | |Architecture=[[ND-100]], [[ND-110 CPU|ND-110]] | ||
}} | }} | ||
'''AAA''' 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 [[A register]]. The result is left in the A register. | '''AAA''' 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 [[A register]]. The result is left in the A register. | ||
== Flags affected == | |||
C, O and Q may be affected as for the [[ADD]] instruction. | |||
== References == | == References == |
Latest revision as of 13:59, 8 August 2009
AAA | |
---|---|
Description | Add argument to A register |
Format | AAA <argument> |
Code | 172 4008 |
Affected | A:=A+argument, C, O, Q |
Type | User |
Architecture | ND-100, ND-110 |
AAA 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 A register. The result is left in the A 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