HP 64700 User Manual page 84

Emulators terminal interface
Hide thumbs Also See for 64700:
Table of Contents

Advertisement

JMP
* SI = low address (needed to swap dividing value).
OUT
MOV
* Swap dividing value and high index value.
MOV
MOV
MOV
* The area is now split into two smaller areas.
* The last high index value is the middle of the
* two areas.
The high and low addresses for the
* second QSORT call are pushed first.
MOV
PUSH
INC
PUSH
DEC
DEC
PUSH
PUSH
CALL
CALL
DONE
RET
Accessing Full Analyzer Capability 3-36
INC_LOW
SI,[BP+2]
DL,[DI]
[SI],DL
[DI],AL
DX,[BP+4]
DX
; Push high.
DI
DI
; Push middle + 1.
DI
DI
DI
; Push middle - 1.
SI
; Push low.
QSORT
QSORT
4
; Pop values on return.

Advertisement

Table of Contents
loading

Table of Contents