retour vers le sommaire du cours
01 program debug03;
02
03 var
04 ValeurOctet : byte;
05 ValeurMot : word;
06 ValeurReel : real;
07 ValeurCh10 : string [10];
08
09 Resultat : word;
10
11 begin
12 ValeurOctet := 5;
13 ValeurMot := 7;
14 ValeurReel := 9;
15 ValeurCh10 := 'Bonjour';
16
17 Resultat := ValeurOctet + 3;
18 Resultat := ValeurOctet + ValeurMot + 4;
19
20 Resultat := Resultat * 2;
21 end.
Start Stop
Length Name Class
00000H 00070H 00071H
debug03 CODE |
||
Address Publics by Value 0000:0008 @ |
Address Publics by Value
|
Address Publics by Value
|
Line numbers for debug03(DEBUG03.PAS) segment debug03 11 0000:0008 12 0000:0017
13 0000:001C 14 0000:0022 Program entry point at 0000:0008 |
D:\fichiers\henrij\ig1\tp_debug>debug debug03.exe
-r
AX=0000 BX=0000 CX=06D0 DX=0000 SP=4000 BP=0000 SI=0000 DI=0000
DS=15F8 ES=15F8 SS=16B7 CS=1608 IP=0008 NV UP EI PL NZ NA PO NC
1608:0008 9A00001016 CALL 1610:0000
-u
1608:0008 9A00001016 CALL 1610:0000
1608:000D 55 PUSH BP
1608:000E 89E5 MOV BP,SP
1608:0010 31C0 XOR AX,AX
1608:0012 9ACD021016 CALL 1610:02CD
1608:0017 C606500005 MOV BYTE PTR [0050],05
1608:001C C70652000700 MOV WORD PTR [0052],0007
1608:0022 C70654008400 MOV WORD PTR [0054],0084
1608:0028 C70656000000 MOV WORD PTR [0056],0000
1608:002E C70658000010 MOV WORD PTR [0058],1000
1608:0034 BF0000 MOV DI,0000
1608:0037 0E PUSH CS
1608:0038 57 PUSH DI
1608:0039 BF5A00 MOV DI,005A
1608:003C 1E PUSH DS
1608:003D 57 PUSH DI
1608:003E B80A00 MOV AX,000A
1608:0041 50 PUSH AX
1608:0042 9AB3041016 CALL 1610:04B3
1608:0047 A05000 MOV AL,[0050]
1608:004A 30E4 XOR AH,AH
1608:004C 050300 ADD AX,0003
1608:004F A36600 MOV [0066],AX
1608:0052 A05000 MOV AL,[0050]
1608:0055 30E4 XOR AH,AH
1608:0057 03065200 ADD AX,[0052]
1608:005B 050400 ADD AX,0004
1608:005E A36600 MOV [0066],AX
1608:0061 A16600 MOV AX,[0066]
1608:0064 D1E0 SHL AX,1
1608:0066 A36600 MOV [0066],AX
1608:0069 5D POP BP
1608:006A 31C0 XOR AX,AX
1608:006C 9A16011016 CALL 1610:0116