--- np2/np2tool/PWOFF.ASM 2004/01/31 20:05:23 1.2 +++ np2/np2tool/PWOFF.ASM 2004/06/10 04:49:48 1.3 @@ -1,9 +1,9 @@ -CODE SEGMENT - ASSUME CS:CODE,DS:nothing,ES:nothing,SS:nothing - ORG 0100H + ORG 100h + USE16 + CPU 8086 -include np2tool.inc +%include 'np2tool.inc' START: cld push cs @@ -16,25 +16,24 @@ START: cld int 21h err_nonnp2: mov ah, 9 - mov dx, offset illegal + mov dx, str_illegal int 21h mov ah, 9 mov dx, bx int 21h mov ah, 9 - mov dx, offset crlf + mov dx, str_crlf int 21h mov ax, 4c01h int 21h -include np2tool.x86 +%include 'np2tool.x86' db 8, 'poweroff' -illegal db 'Illegal hardware - $' -crlf db 0dh, 0ah, '$' +str_illegal db 'Illegal hardware - $' +str_crlf db 0dh, 0ah, '$' -CODE ENDS - END START + ends