MIN: Difference between revisions

From NDWiki
Jump to navigation Jump to search
m (Typo corrected: P := P + 2, not P + P + 2)
m (Spellfix: Arcitecture -> Architecture)
Line 5: Line 5:
|Code=040 000
|Code=040 000
|Affected=(ea):= (ea) + 1,<br>(P):= (P) + 2 IF new (ea) = 0
|Affected=(ea):= (ea) + 1,<br>(P):= (P) + 2 IF new (ea) = 0
|Arcitecture=[[ND-100]], [[ND-110 CPU|ND-110]]
|Architecture=[[ND-100]], [[ND-110 CPU|ND-110]]
}}
}}



Revision as of 13:31, 3 August 2009

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 incremented the contents of the memory location pointed to by the effective address by one. If the result becomes zero, the next instruction is skipped.

References