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