Skip to content

Instantly share code, notes, and snippets.

@alvanrahimli
Created July 10, 2021 06:46
Show Gist options
  • Select an option

  • Save alvanrahimli/1e02587337247b8b5fc4fbb1a5e3dd6f to your computer and use it in GitHub Desktop.

Select an option

Save alvanrahimli/1e02587337247b8b5fc4fbb1a5e3dd6f to your computer and use it in GitHub Desktop.
mov ax, 1234 ; store decimal number 1234 in ax register
mov bx, 0x235 ; store hex number 0x235 in bx register
mov cx, 't' ; store ASCII code of char 't' in cx register
mov dx, ax ; copy value in ax register to dx register
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment