flat assembler
Message board for the users of flat assembler.
Index
> Main > Signed vs unsigned comparison (was 'What am i missing') |
Author |
|
sinsi 19 Aug 2010, 01:52
signed vs unsigned?
|
|||
19 Aug 2010, 01:52 |
|
LocoDelAssembly 19 Aug 2010, 02:07
bitshifter,
Does this **really** has something to do with compiler internals or I can move this to Main? |
|||
19 Aug 2010, 02:07 |
|
bitshifter 19 Aug 2010, 02:21
ooh, its because the value has sign bit set...
facepalm ok to move... (or destroy) |
|||
19 Aug 2010, 02:21 |
|
Tyler 19 Aug 2010, 02:30
jl is signed jb isn't
With jl 1111111b would be less than 0, while with jb, it would be opposite. Edit: You beat me to it. |
|||
19 Aug 2010, 02:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.