Welcome, Guest. Please login or register.

Author Topic: Assembler question2  (Read 1484 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2869
    • Show all replies
Assembler question2
« on: April 04, 2003, 09:11:13 PM »
About the V and C bits of the status register:

V —Set if an overflow occurs; cleared otherwise.
C — Set if a borrow occurs; cleared otherwise.

Now, from what I've read, and I'm not dedicating much time to it, that's why I prefer to ask you guys here  :-D  the V bit is set when a change of signal occurs, but I don't know much about the Carry bit. Can someone explain what is a borrow? And an overflow by the way, just to confirm.

I guess one can use instructions without knowing this but I'd like to know it8-)

Thanks
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2869
    • Show all replies
Re: Assembler question2
« Reply #1 on: April 05, 2003, 12:51:54 AM »
Hi. Yes, it's 68k. I guess I must stop being a lazy ass and try to find it, but the problem is, I hardly  give off the time I have to rest and be with friends to do that, so I just read some stuff once in a while. Like this it would be faster.
I'm sure there's someone who knows :-o
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2869
    • Show all replies
Re: Assembler question2
« Reply #2 on: April 05, 2003, 06:51:58 PM »
Hey.
I know what's a signed byte word etc. (to have negative numbers), but what's a signed operation?

"Carry is when addign through 0"
Maybe my english is rusted. What does that mean?

What about some examples with numbers for both cases?
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2869
    • Show all replies
Re: Assembler question2
« Reply #3 on: April 05, 2003, 08:20:35 PM »
Hmm, ok it helped. I have this tutorial and I  just stumbled across a whole set of instructions that use the V flag, so I  guess I'll have to check it out.

Cheers
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2869
    • Show all replies
Re: Assembler question2
« Reply #4 on: April 07, 2003, 06:40:35 PM »
Ok, thanks all for the time. I'm slowly learning assembler. Maybe one could join efforts in the future, but I still have stuff to learn... :-)
\\"We made Amiga, they {bleep}ed it up\\"