Answer by Sep Roland for or instruction in nasm
If the comment on or al, bl ; 0101 1010 ==> 'Z' already says that this is a character, then it's not clear why you still add something to it.Your addition add al, byte '0' adds 48 to the ASCII code...
View Articleor instruction in nasm
I'm trying to learn nasm,following this tutorial , I have written this codesection .text global _start_start: mov al, 1ah ; 0001 1010 mov bl, 40h ; 0100 0000 or al, bl ; 0101 1010 ==> 'Z' add al,...
View Article