MIN: Difference between revisions
Jump to navigation
Jump to search
m (Spellfix: Arcitecture -> Architecture) |
(Register notation uniformity fix) |
||
Line 4: | Line 4: | ||
|Format=MIN ''<[[ND-100 addressing modes|addr. mode]]> <[[displacement|disp.]]>'' | |Format=MIN ''<[[ND-100 addressing modes|addr. mode]]> <[[displacement|disp.]]>'' | ||
|Code=040 000 | |Code=040 000 | ||
|Affected=(ea):= (ea) + 1,<br> | |Affected=(ea):= (ea) + 1,<br>P:= P + 2 IF new (ea) = 0 | ||
|Architecture=[[ND-100]], [[ND-110 CPU|ND-110]] | |Architecture=[[ND-100]], [[ND-110 CPU|ND-110]] | ||
}} | }} | ||
'''MIN''' is an assembly instruction. It | '''MIN''' is an assembly instruction. It increments the content of the memory location pointed | ||
to by the [[effective address]] by one. If the result becomes zero, the next instruction is skipped. | to by the [[effective address]] by one. If the result becomes zero, the next instruction is skipped. | ||
Latest revision as of 08:46, 21 March 2013
MIN | |
---|---|
Description | Increment memory and skip if zero |
Format | MIN <addr. mode> <disp.> |
Code | 040 0008 |
Affected | (ea):= (ea) + 1, P:= P + 2 IF new (ea) = 0 |
Type | User |
Architecture | ND-100, ND-110 |
MIN is an assembly instruction. It increments the content of the memory location pointed to by the effective address by one. If the result becomes zero, the next instruction is skipped.
References
- Norsk Data Document ND–06.014.02 ND-100 REFERENCE MANUAL Page 133
- Norsk Data Document ND–06.029.01 ND-110 Instruction Set Page 62