mirror of
https://github.com/irmen/prog8.git
synced 2024-12-23 09:32:43 +00:00
21 lines
702 B
Lua
21 lines
702 B
Lua
%option no_sysinit
|
|
%zeropage basicsafe
|
|
|
|
|
|
main {
|
|
sub start() {
|
|
str @alignword @shared name = "wordaligned"
|
|
str @alignpage @shared @nozp name2 = "pagealigned"
|
|
ubyte[20] @alignword @shared array1
|
|
ubyte[20] @alignword @shared array2
|
|
ubyte[20] @alignpage @shared array3
|
|
ubyte[20] @alignpage @shared array4
|
|
ubyte[] @alignword @shared array5 = [1,2,3,4]
|
|
ubyte[] @alignword @shared array6 = [1,2,3,4]
|
|
ubyte[] @alignpage @shared array7 = [1,2,3,4]
|
|
ubyte[] @alignpage @shared array8 = [1,2,3,4]
|
|
uword[20] @alignword @split @shared array9
|
|
uword[] @alignword @split @shared array10 = [1111,2222,3333,4444]
|
|
}
|
|
}
|