Jaguarandine
Member
- Joined
- Jun 14, 2006
- Messages
- 245
I have quiz today and program due today at 8:30pm PST and I'm lost in some concepts. I'll just start going down my list of things if anyone feels like helping. Thanks!
1) signed numbers?
-I understand that 16-bit unsigned numbers (0-65535) must be split in half (0-32767 is positive, and 32768-65535 is negative) for signed numbers. But how it is all implemented? And how does "overflow" work?
2) ASCII text to hex numbers - (basically user inputs base 10 numbers (0-9) which is stored in ASCII format in a register. It's then converted to hexadecimal)
-As I understand it there are 2 steps, converting the ASCII to binary, then the binary to hex. What's
the basic logic behind this?
-ASCII character minus '0' will give you an actual number, right?
3) ADC, SBB, SBW, CWD
-I'm a little confused on these commands
4) What's the SI (Source Index) register exactly? How is it used?
5) Two's compliment?
6) any tips on the stack? I know last-in-first-out, push, and pop. Any other crucial concepts?
I hope I'm not asking for too much and my post made sense. Thanks for your help guys. I really appreciate it. Off to my morning classes!
1) signed numbers?
-I understand that 16-bit unsigned numbers (0-65535) must be split in half (0-32767 is positive, and 32768-65535 is negative) for signed numbers. But how it is all implemented? And how does "overflow" work?
2) ASCII text to hex numbers - (basically user inputs base 10 numbers (0-9) which is stored in ASCII format in a register. It's then converted to hexadecimal)
-As I understand it there are 2 steps, converting the ASCII to binary, then the binary to hex. What's
the basic logic behind this?
-ASCII character minus '0' will give you an actual number, right?
3) ADC, SBB, SBW, CWD
-I'm a little confused on these commands
4) What's the SI (Source Index) register exactly? How is it used?
5) Two's compliment?
6) any tips on the stack? I know last-in-first-out, push, and pop. Any other crucial concepts?
I hope I'm not asking for too much and my post made sense. Thanks for your help guys. I really appreciate it. Off to my morning classes!