China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-24 15:55
中国DOS联盟论坛 » 网络日志(Blog) » Assembly language View 29,358 Replies 75
Floor 61 Posted 2016-06-26 19:55 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 62 Posted 2016-06-26 19:55 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
DEBUG.EXE Command Instructions
DEBUG
a Instruction for writing assembly language program, where sta is the starting address
c sta end sta2 Compare two memory units, where sta is the starting address of the first memory unit, end is the ending address of the first memory unit, and sta2 is the starting address of the second memory unit
c sta lnn sta2 Compare two memory units, where sta is the starting address of the first memory unit, lnn is the length to be compared, and sta2 is the starting address of the second memory unit
d Display the specified range of memory units to the screen (sta: start, end: end)
d Display the specified range of block memory units to the screen (sta: start, lnn: length)
e Modify the data of one byte in the memory unit, where sta is the address
e Modify the data of one byte in the memory unit, where data is the new data
g Execute the program until the end address (end) or the program ends
g=sta Execute from the starting address (sta) until the end (end) or the program ends
r Display all memory contents or modify the value of a specified memory (reg)
t Execute step by step, where num specifies the number of steps executed at one time (default 1)
t=sta Execute step by step, starting from sta, where num specifies the number of steps executed (default 1)
n filename Name the currently editing or debugging file
w Save the file, write cx bytes of data to the file name specified by n
w sta dri sec num Write the data at sta to the sec sector of the dri disk, writing num sectors in total
l Load the file, read the data of the file name specified by n into the sta address
l sta dri sec num Read the data of the sec sector of the dri disk into sta, reading num sectors in total
q Exit debug and return to DOS
u Disassemble from sta to end
u Disassemble from sta, disassembling lnn bytes in total
m sta end sta2 Move the data of the first memory unit to the second memory unit
m sta lnn sta2 Move the data of the first memory unit to the second memory unit
f sta end data Store a segment of data (data) in a specified memory unit area
f sta lnn data Store lnn bytes of data in a specified memory unit area
s sta end data Search for data in the specified address, where data is of unlimited length
s sta lnn data Search for data in the specified address, where data is of unlimited length
h data data2 Calculate the sum and difference of two data and display them on the screen
i inport Input a byte from the input port and display it
o outport Output a byte value from the output port

[ Last edited by zzz19760225 on 2017-11-29 at 00:45 ]
1<词>,2,3/段\,4{节},5(章)。
Floor 63 Posted 2016-06-26 19:56 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 64 Posted 2016-06-26 19:57 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 65 Posted 2016-06-26 19:58 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 66 Posted 2016-06-26 19:59 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 67 Posted 2016-06-26 19:59 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 68 Posted 2016-06-26 20:00 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 69 Posted 2016-06-26 20:01 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 70 Posted 2016-06-26 20:06 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 71 Posted 2016-06-26 20:07 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 72 Posted 2016-06-26 20:08 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 73 Posted 2016-06-26 20:09 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 74 Posted 2016-06-26 20:10 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Floor 75 Posted 2016-06-26 20:12 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
1<词>,2,3/段\,4{节},5(章)。
Forum Jump: