Here is generated array definition and macros from LST file
Code:
; C:\USERS\ADMIN\DESKTOP\NEW FOLDER (5)\UNTITLED.PBP 00011 A00022 ArrayB var byte[10]
_ArrayB EQU RAM_START + 022h
; C:\USERS\ADMIN\DESKTOP\NEW FOLDER (5)\UNTITLED.PBP 00012 A0002C ArrayW var word[10]
_ArrayW EQU RAM_START + 02Ch
; C:\USERS\ADMIN\DESKTOP\NEW FOLDER (5)\UNTITLED.PBP 00013 A00040 ArrayL var long[10]
_ArrayL EQU RAM_START + 040h
; C:\USERS\ADMIN\DESKTOP\NEW FOLDER (5)\UNTITLED.PBP 00015 Arrayb[1]=ArrayB[2]
MOVE?BB _ArrayB + 00002h, _ArrayB + 00001h
; C:\USERS\ADMIN\DESKTOP\NEW FOLDER (5)\UNTITLED.PBP 00016 Arrayw[1]=ArrayW[2]
MOVE?WW _ArrayW + 00004h, _ArrayW + 00002h
; C:\USERS\ADMIN\DESKTOP\NEW FOLDER (5)\UNTITLED.PBP 00017 ArrayL[1]=ArrayL[2]
MOVE?NN _ArrayL + 00008h, _ArrayL + 00004h
For this test code
Code:
ArrayB var byte[10]
ArrayW var word[10]
ArrayL var long[10]
Arrayb[1]=ArrayB[2]
Arrayw[1]=ArrayW[2]
ArrayL[1]=ArrayL[2]
I hope that my explanation are understandable, my English is not good as my PBP
.
Please, feel free to correct me.
Bookmarks