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