Added CPU instructions to all nasm source files.

FIXME: ctojr32 needs CPU 486 because it uses bswap.

committer: mfx <mfx> 1075806034 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2004-02-03 11:00:34 +00:00
parent 440b5b2608
commit b8e698bde3
17 changed files with 30 additions and 0 deletions
+7
View File
@@ -36,6 +36,7 @@
BITS 16
ORG 0
SECTION .text
CPU 8086
; =============
; ============= ENTRY POINT
@@ -49,7 +50,9 @@ start:
dw 0 ; opendos wants this field untouched
strategy:
%ifdef __SYSI2861__
CPU 286
pusha
CPU 8086
%else; __SYSI0861__
push ax
push bx
@@ -94,7 +97,9 @@ cutpoint:
; ============= DECOMPRESSION
; =============
CPU 286
%include "n2b_d16.ash"
CPU 8086
; =============
; ============= CALLTRICK
@@ -106,7 +111,9 @@ cutpoint:
; __SYSMAIN5__
pop es
%ifdef __SYSI2862__
CPU 286
popa
CPU 8086
%else; __SYSI0862__
pop bp
pop di