![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Sep 2007
Location: Sydney - Australia
Posts: 148
Rep Power: 1
![]() |
Flag Question
Another question from me. Although I am a noob at assembly, I love learning it.
![]() My questions are:
Thanks in advance guys.
__________________
SYNTAX ERROR ... |
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 548
Rep Power: 4
![]() |
Re: Flag Question
Flags are just a collection of bits that tell you different things about the current state of the processor. For example, if you do a byte addition and the result is greater than 255, then the carry flag will be set. The zero flag is also popular, to signify that the result of a computation is zero. The sign flag tells you if a number is interpreted as signed or unsigned. Most CPU's have atleast those three.
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4 |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
Re: Flag Question
flags can be single bit registers, or memory mapped registers.
they are used in conditional operations. branch on negative/zero/positive
__________________
i dont know much about programming but i try to help |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Boolean Flag issue | dwizzle13 | Visual Basic .NET | 4 | Dec 7th, 2006 5:58 PM |
| Question about passing objects into member functions | aznluvsmc | C++ | 7 | Sep 27th, 2005 11:41 PM |
| How to post a question | nnxion | C++ | 10 | Jun 3rd, 2005 11:53 AM |
| How to post a question | nnxion | C++ | 0 | Jun 3rd, 2005 8:55 AM |
| How to post a question | nnxion | C | 0 | Jun 3rd, 2005 8:55 AM |