![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-26 00:23 |
47,815 topics / 349,928 posts / today 0 new / 48,288 members |
| 网络日志(Blog) » Assembly language |
| Printable Version 32,909 / 75 |
| Floor61 zzz19760225 | Posted 2016-06-26 19:55 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor62 zzz19760225 | Posted 2016-06-26 19:55 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
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 ] |
|
| Floor63 zzz19760225 | Posted 2016-06-26 19:56 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor64 zzz19760225 | Posted 2016-06-26 19:57 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor65 zzz19760225 | Posted 2016-06-26 19:58 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor66 zzz19760225 | Posted 2016-06-26 19:59 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor67 zzz19760225 | Posted 2016-06-26 19:59 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor68 zzz19760225 | Posted 2016-06-26 20:00 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor69 zzz19760225 | Posted 2016-06-26 20:01 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor70 zzz19760225 | Posted 2016-06-26 20:06 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor71 zzz19760225 | Posted 2016-06-26 20:07 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor72 zzz19760225 | Posted 2016-06-26 20:08 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor73 zzz19760225 | Posted 2016-06-26 20:09 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor74 zzz19760225 | Posted 2016-06-26 20:10 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor75 zzz19760225 | Posted 2016-06-26 20:12 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Prev 1 … 2 3 4 5 6 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |