flat assembler
Message board for the users of flat assembler.
Index
> Main > Why can't I [mov dx, 10101101]? |
Author |
|
bubach 19 Nov 2004, 18:11
maybe add a b for binary or h for hex at the end? :-p
like this: Code: movzx eax, 110011b |
|||
19 Nov 2004, 18:11 |
|
Kristian_ 19 Nov 2004, 19:27
Yes, you're right, but all I get is bunch of symbols!
|
|||
19 Nov 2004, 19:27 |
|
Madis731 19 Nov 2004, 22:46
What do you mean? You are not describing us your problem.
I *THINK* you are trying to print it. But the poor computer doesn't know what you are thinking - it always prints symbols. You'd have to convert say 10101101b to bytes 31303130h, 31313031h now computer 'knows' you want to print numbers, because 31h is "1" and 30h stands for "0". |
|||
19 Nov 2004, 22:46 |
|
Tomasz Grysztar 20 Nov 2004, 10:01
Kirstian, try reading my unfinished tutorial from the documentation page - I hope it might clear up some things for you.
|
|||
20 Nov 2004, 10:01 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.