home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Unsorted BBS Collection
/
thegreatunsorted.tar
/
thegreatunsorted
/
programming
/
asm_programming
/
SUBTEMP2.ASM
< prev
next >
Wrap
Assembly Source File
|
1989-10-14
|
3KB
|
67 lines
INCLUDE \pushregs.mac
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DATASTUFF SEGMENT PUBLIC 'DATA'
; 1 = signed, 2 = unsigned, 3 = binary
; 4 = hex, 5 = ascii
; 90h = signed, A0h = unsigned, B0h = binary
; C0h = hex, D0h = ascii
EXTRN ax_byte:BYTE, bx_byte:BYTE, cx_byte:BYTE, dx_byte:BYTE
EXTRN si_byte:BYTE, di_byte:BYTE, bp_byte:BYTE, sp_byte:BYTE
; + + + + + + + + + + + + + + + START DATA BELOW THIS LINE
; + + + + + + + + + + + + + + + END DATA ABOVE THIS LINE
DATASTUFF ENDS
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CODESTUFF SEGMENT PUBLIC 'CODE'
; ************** ASMHELP.OBJ INFO
EXTRN show_regs:NEAR , show_regs_and_wait:NEAR
EXTRN set_reg_style:NEAR , set_count:NEAR
EXTRN set_blue:NEAR , get_continue:NEAR
EXTRN get_num:NEAR , print_num:NEAR
EXTRN get_string:NEAR , print_string:NEAR
EXTRN get_ascii_byte:NEAR , print_ascii_byte:NEAR
EXTRN get_ascii:NEAR , print_ascii:NEAR
EXTRN get_hex_byte:NEAR , print_hex_byte:NEAR
EXTRN get_hex:NEAR , print_hex:NEAR
EXTRN get_binary_byte:NEAR , print_binary_byte:NEAR
EXTRN get_binary:NEAR , print_binary:NEAR
EXTRN get_bcd:NEAR , print_bcd:NEAR
EXTRN get_signed_byte:NEAR , print_signed_byte:NEAR
EXTRN get_unsigned_byte:NEAR , print_unsigned_byte:NEAR
EXTRN get_signed:NEAR , print_signed:NEAR
EXTRN get_unsigned:NEAR , print_unsigned:NEAR
EXTRN get_signed_4byte:NEAR , print_signed_4byte:NEAR
EXTRN get_unsigned_4byte:NEAR , print_unsigned_4byte:NEAR
EXTRN get_signed_8byte:NEAR , print_signed_8byte:NEAR
EXTRN get_unsigned_8byte:NEAR , print_unsigned_8byte:NEAR
; ************** END ASMHELP.OBJ INFO
ASSUME cs:CODESTUFF, ds:DATASTUFF
; If you call one of these subroutines from a
; different file, it must be declared with a
; PUBLIC statement. If you call a subroutine in a
; different file, it must be declared with an
; EXTRN statement.
; + + + + + + + + + + + + START SUBROUTINES BELOW THIS LINE
; + + + + + + + + + + + + END SUBROUTINES ABOVE THIS LINE
CODESTUFF ENDS
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
END