??? 03/23/12 22:05 Read: times Msg Score: -1 -1 Didn't Search First |
#186839 - 16 bit vs 8bit signed compare |
Hello..
How I can test 16 bit signed integer in asm. Ie I have r0 as MSB and r1 as LSB and want to test if its greater against Acc. The r0/r1 pair is signed 16 bit and Acc is signed 8 bit. Probably need to extend Acc to 16 bits (not problem) but how to perform test to be borrect in all -+ cases? |
Topic | Author | Date |
16 bit vs 8bit signed compare | 01/01/70 00:00 | |
8051 arithmetic 16 bit signed integer | 01/01/70 00:00 | |
The answer is MSB bit | 01/01/70 00:00 | |
Both Carry and MSB | 01/01/70 00:00 | |
< Have tried "Tutorials" there? | 01/01/70 00:00 |