MIN: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(+text from " ND-110 Instruction Set")
(Adopt to new format in template + refrasing)
Line 2: Line 2:
|Mnemonic=MIN
|Mnemonic=MIN
|Description=Increment memory and skip if zero
|Description=Increment memory and skip if zero
|Format=MIN ''<address mode> <disp.>''
|Format=MIN ''<[[ND-100 addressing modes|addr. mode]]> <[[displacement|disp.]]>''
|Code=040&nbsp;000<sub><small>8</small></sub>
|Code=040&nbsp;000
|Affected=(EL):= (EL) + 1,<br>(P) + (P) + 2 IF new (EL) = 0
|Affected=(ea):= (ea) + 1,<br>(P) + (P) + 2 IF new (EL) = 0
|Arcitecture=[[ND-100]], [[ND-110 CPU|ND-110]]
|Arcitecture=[[ND-100]], [[ND-110 CPU|ND-110]]
}}
}}


'''MIN''' is an instruction on the ND platform. It incremented the contents of the memory location pointed
'''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.
to by the [[effective address]] by one. If the result becomes zero, the next instruction is skipped.



Revision as of 16:47, 5 April 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 (EL) = 0
Type User
Architecture {{{Architecture}}}

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