General - Tandy 1000 Programmer's Reference Manual

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter
1
I System
Calls
get-timemacro
mov
ah,2CH
int
21
H
endm
;GET-T IME
;function 2CH
;SET-TIME
set-time macro h o u r , m i n u t e 5 , 5 e c o n d s , h u n d r e d t h s
mov
ch,hour
mov
c1,minutes
mov
dh,seconds
mov
d1,hundredths
mov
a h , 2 D H
;function2DH
int
21 H
endm
v e r i f y m a c r o switch
mov
a l l s w i t c h
mov
ah ,2EH
int
2 1
H
endm
General
;VERIFY
:functionPEH
mov-string macro
s o u r c e , d e s t i n a t i o n , n u m _ b y t e s
push
mov
mov
assume
mov
mov
mov
assume
P O P
endm
rep movs
convert
macro
local
imp
table
db
start:
mov
xor
xor
div
mov
mov
mov
mov
mov
mov
endm
;MOV-STRING
e5
ax,ds
es,ax
es:data
si,offset source
di,offset destination
cx,num-bytes
es:destination,source
es:nothing
e5
value,base,destination ;CONVERT
table,start
start
" 0
123456789ABCDEF"
a1 ,value
ah,ah
bx, bx
base
bl,al
al,cs:table[bxl
destination,al
bl ,ah
al,cs:tableIbxl
destinationIl1,al
142

Advertisement

Table of Contents
loading

Table of Contents