|
|
1.1 ! root 1: //////// ! 2: / ! 3: / Intel 8086 C runtime. ! 4: / SMALL model. ! 5: / ! 6: //////// ! 7: ! 8: .globl lrrem ! 9: .globl llrem ! 10: .globl vrrem ! 11: .globl lrmod ! 12: .globl llmod ! 13: ! 14: //////// ! 15: / ! 16: / long ! 17: / lrrem(a, b); ! 18: / long a; ! 19: / long b; ! 20: / ! 21: / long ! 22: / llrem(a, p); ! 23: / long a; ! 24: / long *p; ! 25: / ! 26: / these routines perform long remainder. they are called from ! 27: / the generated code whenever a long remainder is found in the ! 28: / user's program. ! 29: / ! 30: / both of these routines are just interfaces to the unsigned long ! 31: / remainder routine via the long sign adjusters. ! 32: / ! 33: //////// ! 34: ! 35: lrrem: mov ax,$vrrem / get pointer to remainder code ! 36: jmp lrmod / and do the operation. ! 37: ! 38: llrem: mov ax,$vrrem / get pointer to remainder code ! 39: jmp llmod / and do the operation.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.