16 bit Assembly
Using Register Addressing
Instructions and Op Codes
Overview of my Compiler
16 bit Date Extraction
FAT12 Floppy Disk Access
32 bit to 16 bit File Size
Finding Free Disk Space
16bit Memory Routines
Mouse Callback
Floppy Disk Parameters
Registers
The Root Directory
Using the Stack
Creating a Boot Disk
Direct To Screen Output
16 bit Time Extraction
Basic Display Code
The default TTY Teletype font and operation displays light grey characters on the display on a black background.
You must set AX, BX and CX before calling INT 0x10.
- Set AH=E0 this is the display command for TTY mode.
- Set AL= the character to be displayed. All 256 characters can be used.
- Set BX=0x0007 the default colour.
- Set CX=0x0001 to the number of characters to display.
You can ignore the PUSH and POP stack commands if you do not mind your registers changing.
Display a Character
Display a String
Display a Number
Display a New Line
Display a HEX Number
The \\0 in the data string represents a NULL (zero) end of string. The data string will need to be modified for use with your own compiler.
Display a Press Key Message
The \\0 in the data string represents a NULL (zero) end of string. The data string will need to be modified for use with your own compiler.