Content deleted Content added
m rm doublespace |
m fmt |
||
Line 30:
**IDTR, the interrupt descriptor table register (see below)
* task register
** TR
All of them can be used both for segmented addressing of memory and for holding data. Some of these registers are however better to use for certain operations than others. This is because mnemonics using certain registers could be translated into shorter [[opcode]]s than if they used other registers.
Line 48:
first compares the AX and BX registers, and if they are unequal, the code branches off to the do_something label.
There is also a 32-bit [[instruction pointer]], named EIP. The IP register points to where in the program the processor is currently executing it's code. The IP register cannot be accessed by the programmer directly.
== Mnemonics for opcodes==
|