Free BDATA of -18 ?
No Diff if I choose Small,Compact or Large
Arr2 starts in the BDATA area ?
Code: Select all
program test
dim arr1 as Byte[32]
dim arr2 as byte[32]
dim arr3 as byte[32] xdata
dim arr4 as byte[32] xdata
dim arr5 as byte[32] xdata
dim arr6 as byte[32] xdata
dim arr7 as byte[32] xdata
dim arr8 as byte[32] xdata
dim x,y as byte bdata
main:
x = 1
y = 1
arr1[0] = 1
arr2[0] = 1
arr3[0] = 1
arr4[0] = 1
arr5[0] = 1
arr6[0] = 1
arr7[0] = 1
end.
Code: Select all
//----------------------------------------------
0x00AE [70] _main
//** Variables locations **
//ADDRESS SIZE VARIABLE
//----------------------------------------------
0x0000 [32] _arr7
0x0000 [1] R0
0x0001 [1] R1
0x0002 [1] R2
0x0003 [1] R3
0x0004 [1] R4
0x0005 [1] R5
0x0006 [1] R6
0x0007 [1] R7
0x0020 [1] _x
0x0020 [32] _arr4
0x0021 [1] _y
0x0022 [32] _arr2
0x0040 [32] _arr3
0x0042 [32] _arr1
0x0060 [32] _arr6
0x0080 [0] P0_6_bit
0x0080 [0] P0_7_bit
0x0080 [32] _arr5
.............