Quantcast
Channel: or instruction in nasm - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article



or 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
Browsing all 2 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>