Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How the debug U command views the source code

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how to view the source code of debug U command. The content of the article is of high quality, so Xiaobian shares it with you for reference. I hope you have a certain understanding of relevant knowledge after reading this article.

    IDE : Masm for Windows Integrated Lab Environment 2015

    OS : Windows 10 x64

typesetting : Markdown

   blog : my.oschina.net/zhichengjiu

codeDATAS SEGMENT; Enter the data segment code DATAS ENDSSTACKS SEGMENT here; enter the stack segment code STACKS ENDSCODES SEGMENTASSUME CS:CODES,DS:DATAS,SS:STACKSSTART:MOV AX,DATASMOV DS,AX MOV AH,4CHINT 21HCODES ENDSEND STARTdebug here

Write only U command, default to view 20H bytes of machine code

You can add the current address to the CX register and you get the whole code of the program. CX register stores the length of the machine code, so subtract 1.

0770 : 0000 + 0009 - 0001 = 0770 : 0008

About debug U command how to view the source code to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report