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
Extracting the Date
The dates used in a File record are in a 16 bit Forward as shown below.
Most modern computers default to a year of 1980, so you need to add 1980 (0x07BCh) to the extracted year.
An example showing one way of extracting the Date from the 16 bit value.
Creating a Date
There will be times when you need to save the date back to the disk.