flat assembler
Message board for the users of flat assembler.
Index
> Main > invert ZF Goto page Previous 1, 2 |
Author |
|
Teehee 28 Sep 2011, 19:58
whats the difference among CF and OF ? and after all when CF is set or cleared?
|
|||
28 Sep 2011, 19:58 |
|
Teehee 30 Sep 2011, 20:14
so basicaly OF for signed and CF for unsigned?
|
|||
30 Sep 2011, 20:14 |
|
Teehee 05 Oct 2011, 16:12
bitRAKE wrote: Of course, there is the bitmap method, too. Only uses 32 bytes of data (single cacheline). Only uses a single register. How does that method works, bitRAKE? can you give me a small full example? _________________ Sorry if bad english. |
|||
05 Oct 2011, 16:12 |
|
MHajduk 05 Oct 2011, 16:25
Teehee wrote:
|
|||
05 Oct 2011, 16:25 |
|
Teehee 05 Oct 2011, 17:06
i think i got it. For example, for decimal number (0-9) you set (1) all the bits number 48 till 57 (0 to 9 char ascii table correspondency) so BT will look for the bit at that possition and put it in CF. Thats it?
Code: ; table to decimal 0-9 0000000000000000 0000000000000000 0000000000000001 1111111110000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ? _________________ Sorry if bad english. |
|||
05 Oct 2011, 17:06 |
|
MHajduk 05 Oct 2011, 17:20
You should get something like that (written as dwords):
Code: CharFunction dd 0x00000000, 0x03FF0000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 Code: ; table to decimal 0-9 0000000000000000 0000000000000000 0000000000000000 1111111111000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 |
|||
05 Oct 2011, 17:20 |
|
Teehee 05 Oct 2011, 18:55
weird... 0x03FF0000 != 11111111110000000000000000000000.
[edit] eh, i forgot the endian thing.. |
|||
05 Oct 2011, 18:55 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.