mirror of
https://github.com/g012/l65.git
synced 2025-04-06 16:37:18 +00:00
Added Lua 5.3 binary operators.
This commit is contained in:
parent
9bcb674f2c
commit
9031730490
7
asm.lua
7
asm.lua
@ -5,11 +5,18 @@ TIM_VBLANK = 61 -- TIM64T, 3904 cycles = ~ 51 scanlines
|
||||
TIM_KERNEL = 17 -- T1024T, 17408 cycles = ~229 scanlines
|
||||
location(0xf000, 0xffff)
|
||||
|
||||
if toto ~= 15 then end
|
||||
|
||||
abc = 13 ~ 0x7
|
||||
xyz = 1 << 2
|
||||
|
||||
section "waitForIntim"
|
||||
-- n_{ a=INTIM } ?
|
||||
--lda(INTIM) -- or a=INTIM
|
||||
--bne "waitForIntim"
|
||||
ldx #0xf0
|
||||
ldx #0b1101
|
||||
ldy #0xAB - 16 + 0b11011 & 3 | 6 ~ 0xf >> ~3 << 1 // 5
|
||||
|
||||
lda #0xac
|
||||
lda #INTIM
|
||||
|
Loading…
x
Reference in New Issue
Block a user