2017-10-21 23:40:19 +00:00
|
|
|
mcopy symbol.macros
|
|
|
|
****************************************************************
|
|
|
|
*
|
|
|
|
* ClearTable - set the symbol table to zeros
|
|
|
|
*
|
|
|
|
* Inputs:
|
|
|
|
* table - symbol table address
|
|
|
|
*
|
|
|
|
****************************************************************
|
|
|
|
*
|
2017-06-19 03:07:32 +00:00
|
|
|
ClearTable private cc
|
2017-10-21 23:40:19 +00:00
|
|
|
tableSize equ 7026 sizeof(symbolTable)
|
|
|
|
|
|
|
|
subroutine (4:table),0
|
|
|
|
|
|
|
|
ldy #tableSize-2
|
|
|
|
lda #0
|
|
|
|
lb1 sta [table],Y
|
|
|
|
dey
|
|
|
|
dey
|
|
|
|
bpl lb1
|
|
|
|
|
|
|
|
return
|
|
|
|
end
|
2022-12-03 03:55:57 +00:00
|
|
|
|
|
|
|
****************************************************************
|
|
|
|
*
|
|
|
|
* SaveBF - save a value to a bit-field
|
|
|
|
*
|
|
|
|
* Inputs:
|
|
|
|
* addr - address to copy to
|
|
|
|
* bitdisp - displacement past the address
|
|
|
|
* bitsize - number of bits
|
|
|
|
* val - value to copy
|
|
|
|
*
|
|
|
|
****************************************************************
|
|
|
|
*
|
|
|
|
SaveBF private cc
|
|
|
|
jml ~SaveBF call ~SaveBF in ORCALib
|
|
|
|
end
|