Professional Documents
Culture Documents
3 Solution Quiz 2 COAL
3 Solution Quiz 2 COAL
CMP Al, Bl
// Comparing Al and BL
Ja L1
// Jump to L1 if AL is greater than BL if not then move next
CMP BL, CL
// Comparing CL and BL
Ja L1
// Jump to L1 if BL is greater than CL if not then move next
MOV X, 0 ,
// Execution of else command
L1:
//Label L1
MOV X, 1
// Executed if condition is true
Page 1 of 1