16 bit Assembly
Home Feedback Site Map Instruction Index
File sizes are are often large that 16 bit can handle. On a Floppy disk the are 32bit. The following sample shows one way of solving this issue.
It check if the file size is greater than 64k, if less then the file size is output in bytes. If greater than 64k is output in Kilobytes rounded up to the next kilobyte.