flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 28 Oct 2012, 00:20
The most common way to do extended two's complement is negate and add 1:
Code: mvn r1,r1 mvn r2,r2 adds r1,r1,1 adc r2,r2,0 |
|||
![]() |
|
cwpjr 28 Oct 2012, 00:59
Thank Revolution. I still haven't forgotten your challenge of x86 translation but I am not up to te task yet!
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.