home *** CD-ROM | disk | FTP | other *** search
-
- {when invoked this routine restores the registers from the structure constant}
-
- inline(
- $BB/REGS/ {MOV BX,OFFSET REGS}
- $2E/$8E/$47/$10/ {CS:MOV ES,[BX]10}
- $2E/$8E/$5F/$0E/ {CS:MOV DS,[BX]0E}
- $2E/$8B/$7F/$0C/ {CS:MOV DI,[BX]0C}
- $2E/$8B/$77/$0A/ {CS:MOV SI,[BX]0A}
- $2E/$8B/$6F/$08/ {CS:MOV BP,[BX]08}
- $2E/$8B/$57/$06/ {CS:MOV DX,[BX]06}
- $2E/$8B/$4F/$04/ {CS:MOV CX,[BX]04}
- $2E/$8B/$47/$00/ {CS:MOV AX,[BX]00}
- $2E/$FF/$77/$12/ {CS:PUSH [BX]12}
- $9D/ {POPF}
- $2E/$8B/$5F/$02/ {CS:MOV BX,[BX]02}
- $5D/ {POP BP} {restore the stack pointer}
- $5D {POP BP}
- );