IrvineAppBpage599

IrvineAppBpage599 - B.3 INDIVIDUAL COMMANDS 599 R R...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: B.3 INDIVIDUAL COMMANDS 599 R R register Here are some examples: Example Description R Display the contents of all registers. R IP Display the contents of IP and prompt for a new value. R CX Same (for the CX register). R F Display all flags and prompt for a new flag value. Once the R F command has displayed the flags, you can change any single flag by typing its new state. For example, we set the Zero flag by typing the following two commands: R F [Press Enter] ZR The following is a sample register display (all values are in hexadecimal): Data registers Stack oInter Base ointer Source Index Destination index BP = 0000 SI: 0000 DI = 0000 i ES: 1000 SS=1CCO CS=1CCO IP= 0100 NV UP DI NZ NA PO NC Flags Instruction pointer Code segment AX = 0000 BX = 0000 CX = 0000 DX = 0000 SP = FFEE DS =1CCO Stack segment Extra segment Data segment The complete set of possible flag mnemonics in Debug (ordered from left to right) are as follows: Set Clear 0V = Overflow NV = No Overflow DN = Direction Down UP = Direction Up E1 = Interrupts Enabled D1 = Interrupts Disabled NG = Sign Flag negative PL = Sign Flag positive ZR = Zero NZ = Not Zero AC = Auxiliary Carry NA = No Auxiliary Carry P0 = Odd Parity PE = Even Parity CY=Carry NC=N0 Carry ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern