TAILIEUCHUNG - Cracker Handbook 1.0 part 40

Tham khảo tài liệu 'cracker handbook part 40', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | direction inside the specific segment. Debug provides a set of commands that lets you perform a number of useful operations A Assemble symbolic instructions into machine code D Display the contents of an area of memory E Enter data into memory beginning at a specific location G Run the executable program in memory N Name a program P Proceed or execute a set of related instructions Q Quit the debug program R Display the contents of one or more registers T Trace the contents of one instruction U Unassembled machine code into symbolic code W Write a program onto disk It is possible to visualize the values of the internal registers of the CPU using the Debug program. To begin working with Debug type the following prompt in your computer C Debug Enter On the next line a dash will appear this is the indicator of Debug at this moment the instructions of Debug can be introduced using the following command -r Enter AX 0000 BX 0000 CX 0000 DX 0000 SP FFEE BP 0000 SI 0000 DI 0000 DS 0D62 ES 0D62 SS 0D62 CS 0D62 IP 0100 NV EI PL NZ NA PO NC 0D62 0100 2E CS 0D62 0101 803ED3DF00 CMP BYTE PTR DFD3 00 CS DFD3 03 All the contents of the internal registers of the CPU are displayed an alternative of viewing them is to use the r command using as a parameter the name of the register whose value wants to be seen. For example -rbx BX 0000 This instruction will only display the content of the BX register and the Debug indicator changes from - to When the prompt is like this it is possible to change the value of the register which was seen by typing the new value and Enter or the old value can be left by pressing Enter without typing any other value. Assembler structure In assembly language code lines have two parts the first one is the name of the instruction which is to be executed and the second one are the parameters of the command. For example add ah bh Here add is the command to be executed in this case an addition and ah as well as bh are the parameters. For example mov al 25

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.