From b260b32c44da235d3dbb14a5b1be3eac52fa6ef1 Mon Sep 17 00:00:00 2001 From: Amanda Rousseau Date: Mon, 13 Mar 2017 22:24:51 -0700 Subject: [PATCH] updating tables --- fundamentals3.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/fundamentals3.md b/fundamentals3.md index 532e375..8034721 100644 --- a/fundamentals3.md +++ b/fundamentals3.md @@ -47,7 +47,8 @@ Use the search page below or open the [Search Instructions](https://securedorg.g ### Registers ### -#### General-Purpose Registers +#### General-Purpose Registers [[1]][1] + | Register | Description | | --- | --- | @@ -75,17 +76,17 @@ Use the search page below or open the [Search Instructions](https://securedorg.g | ID | Name | Description | | --- | --- | --- | -| CF | Carry Flag | Set if the last arithmetic operation carried (addition) or borrowed (subtraction) a bit beyond the size of the register | This is then checked when the operation is followed with an add-with-carry or subtract-with-borrow to deal with values too large for just one register to contain | +| CF | Carry Flag | Set if the last arithmetic operation carried (addition) or borrowed (subtraction) a bit beyond the size of the register. This is then checked when the operation is followed with an add-with-carry or subtract-with-borrow to deal with values too large for just one register to contain | | PF | Parity Flag | Set if the number of set bits in the least significant byte is a multiple of 2 | | AF | Adjust Flag | Carry of Binary Code Decimal (BCD) numbers arithmetic operations | | ZF | Zero Flag | Set if the result of an operation is Zero (0) | | SF | Sign Flag | Set if the result of an operation is negative | | TF | Trap Flag | Set if step by step debugging | | IF | Interruption Flag | Set if interrupts are enabled | -| DF | Direction Flag | Stream direction | If set, string operations will decrement their pointer rather than incrementing it, reading memory backwards | +| DF | Direction Flag | Stream direction. If set, string operations will decrement their pointer rather than incrementing it, reading memory backwards | | OF | Overflow Flag | Set if signed arithmetic operations result in a value too large for the register to contain | | IOPL | I/O Privilege Level field (2 bits) | I/O Privilege Level of the current process | -| NT | Nested Task flag | Controls chaining of interrupts | Set if the current process is linked to the next process | +| NT | Nested Task flag | Controls chaining of interrupts. Set if the current process is linked to the next process | | RF | Resume Flag | Response to debug exceptions | | VM | Virtual-8086 Mode | Set if in 8086 compatibility mode | | AC | Alignment Check | Set if alignment checking of memory references is done | @@ -107,4 +108,6 @@ The **EIP** register contains the address of the next instruction to be executed ### The Stack ### +[1]: https://en.wikibooks.org/wiki/X86_Assembly/X86_Architecture + [Anatomy of PE <- Back](https://securedorg.github.io/RE101/section1.2) | [Next -> Section 2](https://securedorg.github.io/RE101/section2)