SYSTEM CALLS
M68CPU32BUG/D REV 1
5-24
.TM_RD
Read Timer
.TM_RD
5.2.20 Read Timer
SYSCALL
.TM_RD
TRAP CODE:
$0042
Use this routine to read the timer value (the timer value is the number of interrupt pulses
generated). Initialize (.TM_INI) and start (.TM_STR0) the timer before using the .TM_RD
function.
Entry Conditions:
SP ==>
Space for result <long>
Exit Conditions Different From Entry:.
SP ==>
Time (number of interrupt pulses) <long>. The timer keeps
running after the read.
EXAMPLE
SUBQ.L
#4,A7
Allocate space for result
SYSCALL
.TM_RD
Read timer
MOVE.L
(A7)+,D0
Load interrupt pulse count
Содержание M68CPU32BUG
Страница 16: ...GENERAL INFORMATION M68CPU32BUG D REV 1 1 8 ...
Страница 30: ...DEBUG MONITOR DESCRIPTION M68CPU32BUG D REV 1 2 14 ...
Страница 102: ...DEBUG MONITOR COMMANDS M68CPU32BUG D REV 1 3 72 ...
Страница 168: ...DIAGNOSTIC FIRMWARE GUIDE M68CPU32BUG D REV 1 6 24 ...