Skip to content

Instantly share code, notes, and snippets.

@Baneeishaque
Last active April 6, 2022 17:10
Show Gist options
  • Save Baneeishaque/34c0e08530a434dff792e11fc5146ab1 to your computer and use it in GitHub Desktop.
Save Baneeishaque/34c0e08530a434dff792e11fc5146ab1 to your computer and use it in GitHub Desktop.
Compare 2 Digits Assembly Language
MOV CL,00H
MOV [3000H],CL
MOV AL,[1000H]
MOV BL,[2000H]
CMP AL,BL
JNZ L1
HLT
L1 : MOV CL,01H
MOV [3000H],CL
HLT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment