16 bit Assembly

Home   Feedback   Site Map   Instruction Index  


Date 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.




Last Update 27/12/2022