??1 ?DEBUG????? - PowerPoint PPT Presentation

1 / 26
About This Presentation
Title:

??1 ?DEBUG?????

Description:

MASM 6.11 CodeView 4.01 32 SoftICE – PowerPoint PPT presentation

Number of Views:88
Avg rating:3.0/5.0
Slides: 27
Provided by: educ5460
Category:
Tags: debug | masm

less

Transcript and Presenter's Notes

Title: ??1 ?DEBUG?????


1
????????(??)
2
??1 ?DEBUG?????
???????,???????????????,??????????????????????????
???????????????,??,???????2???,????DEBUG??????????
??????? ??DEBUG???????????????????????????A.2.4
3
?????BCD??????,?68-9
mov ax, 0608h mov bl, 09h sub al, bl aas
??debug
4
???A??????
Debug????16???,????H??
?????????????
5
??T??????
???T??????????
???T??????
???
???????????????????
????????????????
???????????????
6
?????Q????DEBUG? DEBUG??????2??D?????DEBUG????????
????
?? ?1? ?0?
??OF ??DF ??IF ??SF ??ZF ??AF ??PF ??CF OV DN EI NG ZR AC PE CY NV UP DI PL NZ NA PO NC
7
????????????
MOV SI, 0050H (DS)2000H MOV
DI, 0100H (ES)3000H MOV CX, 5
CLD REP MOVSB
1)??A??????
8
2)?R????DS?ES???????
DS????
??????
3)?D??????????????
9
4)?E????????????D??????????????
10
5)????????
11
6)???????????????
12
??,?A???????,??????debug?????????????????,????????
?
13
??2 ?????????MASM 5.0????(????CMD?????)
?????
14
?????
?????,?????
15
???????
16
????????
17
?DEBUG????
1)?U???????????????
18
2)?T??????,?????????,DEBUG??????????????????
19
3)????????,???G????????,????P????????????????
?????,????INT 21H????
INT 21H???????
20
??DEBUG???16?????,?????32?????,???MASM
6.11?????,?CodeView??????????MASM 6.11???CodeView
4.01????32????????,??????????????????SoftICE??? ??
,VC????????80486?????,???32????
21
?VC6.0??C?????
22
(No Transcript)
23
?????asmsample.cpp
24
????????asmsample.cpp?
include ltiostream.hgt int power2(int, int) void
main(void) coutltlt"2?6???5??\t"
coutltltpower2(5,6)ltltendl int power2(int num,
int power) _asm mov eax, num
?????? mov ecx, power ?????? shl
eax, cl ??EAXEAX(2CL)
// ?????EAX
25
(No Transcript)
26
????????
Write a Comment
User Comments (0)
About PowerShow.com