16 bit Assembly

Home   Site Map   Instruction Index  


SET   - Set Condition Instruction

The SET instruction sets a flag condition in an 8 bit Register or a memory address.
This command has 2 parts, Instruction, then either a Register, or a memory address.

Many of these SET Instructions have the same or similar effects and therefore share the same Op Code.

Syntax: SET.. 0x03 or SET.. AL etc.


Instructions in Op Code sequence

Op Code   Instruction
90SETO
91SETNO
92SETB, SETC, SETNAE
93SENB, SETNC, SETAE
94SETZ, SETE
95SETNZ, SETNE
96SETBE, SETNA
97SETA, SETNBE
98SETS
99SETNS
9ASETP, SETPE
9BSETNP, SETPO
9CSETL, SETNGE
9DSETNL, SETGE
9ESETLE, SETNG
9FSETG, SETNLE

Instructions according to use

Operates On   Instruction
CarrySETC, SETNC
OverflowSETO, SETNO
ParitySETP, SETNP, SETPE, SETPO
SignSETS, SETNS
LowerSETL, SETB, SETLE, SETNA, SETNG, SETNGE, SETNAE, SETBE
GreaterSETG, SETA, SETGE, SETNB, SETNL, SETNLE, SETNBE, SETAE
EqualSETE, SETNE
ZeroSETZ, SETNZ, SETCXZ, SETECXZ




Last Update 08/02/2023