summaryrefslogtreecommitdiff
path: root/ecomp-c/tests/type_check_assignment.easm
blob: 03888c0fef3ccebaad10ee76be908713269447b7 (plain)
1
2
3
4
5
6
7
8
9
10
format binary
use32
org $1000000
; DECL i -> integer, 0
; DECL b -> boolean, false
; LET i <- 1 
mov eax, 1
push eax
pop eax
mov [i], eax