1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-10-21 17:24:39 +00:00
kickc/src/test/ref/declared-memory-var-1.sym
2020-03-29 21:00:25 +02:00

16 lines
377 B
Plaintext

(label) @1
(label) @begin
(label) @end
(const nomodify byte*) SCREEN = (byte*) 1024
(volatile byte) idx loadstore mem[1] = (byte) 0
(const byte*) idx_p = &(volatile byte) idx
(void()) main()
(label) main::@1
(label) main::@return
(byte) main::i
(byte) main::i#1 reg byte x 151.5
(byte) main::i#2 reg byte x 134.66666666666666
reg byte x [ main::i#2 main::i#1 ]
mem[1] [ idx ]