MIN: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(New page: {{InstructionBox |Mnemonic=MIN |Description=Increment memory and skip if zero |Format=MIN ''<address mode> <disp.>'' |Code=040 000 |Affected=(EL):=(EL)+1, (P) }} '''MIN''' is an inst...)
 
(+text from " ND-110 Instruction Set")
Line 3: Line 3:
|Description=Increment memory and skip if zero
|Description=Increment memory and skip if zero
|Format=MIN ''<address mode> <disp.>''
|Format=MIN ''<address mode> <disp.>''
|Code=040&nbsp;000
|Code=040&nbsp;000<sub><small>8</small></sub>
|Affected=(EL):=(EL)+1, (P)
|Affected=(EL):= (EL) + 1,<br>(P) + (P) + 2 IF new (EL) = 0
|Arcitecture=[[ND-100]], [[ND-110 CPU|ND-110]]
}}
}}


'''MIN''' is an instruction on the ND platform. It reads the effective word and incremented it by one. Then it's stored in the effective location. If the result becomes zero, the next instruction is skipped.
'''MIN''' is an instruction on the ND platform. 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 ==
== Sources ==
*{{ND-doc|06.014.02|Page 133}}
*{{ND-doc|06.014.02|Page 133}}
*{{ND-doc|06.029.01|Page 62}}


[[Category:ND-100 instructions]]
[[Category:ND-100 instructions]]

Revision as of 14:45, 2 April 2009

MIN
Description Increment memory and skip if zero
Format MIN <address mode> <disp.>
Code 040 00088
Affected (EL):= (EL) + 1,
(P) + (P) + 2 IF new (EL) = 0
Type User
Architecture {{{Architecture}}}

MIN is an instruction on the ND platform. 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