.
, , , , . . , . , , - . , , . , , .
.
, ! . , Java C# .
.
, , , . , , . , , .
.
, , . , , . , , . , .
.
. . . , . , , .
. TASM, MASM FASM. FASM. , , , . . DOS, Windows Linux.
, , FASM .
FASMa http://www.flatassembler.net/.
|
|
Turbo Debugger TASM.
8086
, , , . x86 ( , ) Intel 8086 . , 8086 x86.
Intel 8086 16-:
12 - , (FLAGS) (IP).
() AX, BX, CX DX . , 2 8-, 8- (AH, AL, BH, BL, CH, CL, DH, DL). L ( Low), H ( High). , , CX .
. SI (Source Index) , DI (Destination Index) , .
- BP SP . BP (Base Pointer) . . SP (Stack Pointer) . , . ( )
CS (Code Segment), DS (Data Segment), SS (Stack Segment) ES (Enhanced Segment) . , , . 4 ( ). 31.
COM- , , . COM- .
IP (Instruction Pointer) ( ). , . IP . , IP .
FLAGS : . :
D (Direction) . : DF=0 , DF=1 ( ).
I (Interrupt) . 1, , .
T (Trap) . .
|
|
:
S (Sign) , . 1, .
Z (Zero) . ZF=1, .
P (Parity) .
C (Carry) . CF=1, / / . .
A (Auxiliary) . - .
O (Overflow) . CF=1, .
, - . ,
- . , , , , .. , , , .
. .
db, dw dd.