|
-
Aug 5th, 2007, 04:52 AM
#1
Thread Starter
New Member
Carry flag problem
i need a code that uses addition and subtraction to set and clear a carry flag. it must then display the flags and the dumpregisters after each instruction.
please help guys
-
Aug 19th, 2007, 02:02 AM
#2
Re: Carry flag problem
The clc instruction can clear the carry flag?
-
Aug 24th, 2007, 12:08 PM
#3
Re: Carry flag problem
Addition (subtraction is just adding a negative value) sets or clears the flags. Displaying flags and registers is just a display routing.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|