Displaying Time in Assembly

See the x86 tag wiki for the instruction set reference manual, and many good links to reference material and tutorials. It takes enough code to split up an integer into ASCII digits that you should factor it out into a function. This is an optimized and bugfixed version of @hobbs’s print2Digits function. (I also bugfixed … Read more

How buffered input works

Looking at how you defined your input buffer (buf: db 20 dup (‘$’)), I get it that you want to cut corners and have the input already $-terminated ready for re-displaying it. Sadly this messes up the required settings for the DOS input function 0Ah and your program is in serious problems with a potential … Read more

tech