![]() So for example, we can easily say that B8 is the operation code of mov ax. You see, with ' u ' debug shows us the code with op-codes. Then write 'u' ( unassemble) to see the code. One is, as we see above, writing debug and the name of the program and press enter. But in classes there can be lots of those kind of problems, so be careful. Because it is a simple to figure out stage. I don't think here it will be a big trouble. Before telling you how to load a program, I used it to express something. I tried to explain something to you in terms of things I didn't mention before. For example, if we tried to save this program after running it, the value of IP would be 0109 and we would get a message like 'writing 40009 bytes', maybe we would think we saved it but we wouldn't be able to load the program later. It should be 0100 here because it is the start point of the saving process. But there is one more thing we should be aware of. I am doing to show you this after speaking about how to load a program. For example, if you return to DOS and again enter debug, the value of CX will not be changed. Because you know it has the convenient value. In fact, sometimes you don't even need to specify the value of CX. ![]() Here the order of passing a value to CX register and naming the program is not important.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |