Header image at HALCODE

Debug

Writing Programs with Echo (DOS)

May 4th, 2008  |  by Jose  |  published in Assembler, Debug, Languages, Programming, Retro

How do you input those characters as parameters for the echo command? I found no way of doing that. If you know a way, please drop me a line.

Encoding Intel x86/IA-32 Assembler Instructions

April 28th, 2008  |  by Jose  |  published in Assembler, Debug, History, Retro

Translation of the second line is a direct and solved issue. What about jmp 114? Well, we want to jump over the data (18 bytes, one byte per each character in the string.) IASDM tell us (Appendix B) that the opcode for unconditional jumps in the same segment is 11101011, which in hexadecimal, is expressed as EB.

Debugging “hello, world”

April 17th, 2008  |  by Jose  |  published in Assembler, Debug, History, Programming, Retro

The Go command (g) will run the program starting at the given address (in this case, CS:0100) If everything goes right, the program should output the intended “hello, world!” string, and finish with the message “Program terminated normally.”

About HALCODE

Computer Science Reviews: Passion for (my badly written) code . Subscribe via RSS »