2018-09-14 13:13:35 +00:00
|
|
|
#
|
|
|
|
mes 2, EM_WSIZE, EM_PSIZE
|
|
|
|
|
|
|
|
exp $_m_a_i_n
|
|
|
|
pro $_m_a_i_n, 0
|
|
|
|
|
2019-02-08 21:38:07 +00:00
|
|
|
zero
|
|
|
|
rom 0
|
|
|
|
one
|
|
|
|
rom 1
|
2018-09-14 13:13:35 +00:00
|
|
|
|
2019-02-08 21:38:07 +00:00
|
|
|
/* Or var with var */
|
2018-09-14 13:13:35 +00:00
|
|
|
|
2019-02-08 21:38:07 +00:00
|
|
|
loe zero
|
|
|
|
loe one
|
|
|
|
ior EM_WSIZE
|
2018-09-14 13:13:35 +00:00
|
|
|
loc 1
|
|
|
|
cmu EM_WSIZE
|
|
|
|
zeq *1
|
|
|
|
|
|
|
|
loc __LINE__
|
|
|
|
cal $fail
|
|
|
|
asp 4
|
|
|
|
1
|
|
|
|
|
2019-02-08 21:38:07 +00:00
|
|
|
/* Or var with const */
|
2018-09-14 13:13:35 +00:00
|
|
|
|
2019-02-08 21:38:07 +00:00
|
|
|
loe zero
|
|
|
|
loc 1
|
|
|
|
ior EM_WSIZE
|
2018-09-14 13:13:35 +00:00
|
|
|
loc 1
|
|
|
|
cmu EM_WSIZE
|
2019-02-08 21:38:07 +00:00
|
|
|
zeq *2
|
|
|
|
|
|
|
|
loc __LINE__
|
|
|
|
cal $fail
|
|
|
|
asp 4
|
|
|
|
2
|
|
|
|
|
|
|
|
/* Or const with var */
|
|
|
|
|
|
|
|
loc 0
|
|
|
|
loe one
|
|
|
|
ior EM_WSIZE
|
|
|
|
loc 1
|
2018-09-14 13:13:35 +00:00
|
|
|
cmu EM_WSIZE
|
|
|
|
zeq *3
|
2019-02-08 21:38:07 +00:00
|
|
|
|
|
|
|
loc __LINE__
|
|
|
|
cal $fail
|
|
|
|
asp 4
|
2018-09-14 13:13:35 +00:00
|
|
|
3
|
|
|
|
|
2019-02-08 21:38:07 +00:00
|
|
|
/* Or var with big const */
|
|
|
|
|
|
|
|
loe zero
|
|
|
|
loc 1000
|
|
|
|
ior EM_WSIZE
|
|
|
|
loc 1000
|
|
|
|
cmu EM_WSIZE
|
|
|
|
zeq *4
|
|
|
|
|
|
|
|
loc __LINE__
|
|
|
|
cal $fail
|
|
|
|
asp 4
|
|
|
|
4
|
|
|
|
|
|
|
|
/* Or big const with var */
|
|
|
|
|
|
|
|
loc 1000
|
|
|
|
loe one
|
|
|
|
ior EM_WSIZE
|
|
|
|
loc 1001
|
|
|
|
cmu EM_WSIZE
|
|
|
|
zeq *5
|
|
|
|
|
|
|
|
loc __LINE__
|
|
|
|
cal $fail
|
|
|
|
asp 4
|
|
|
|
5
|
|
|
|
|
2018-09-14 13:13:35 +00:00
|
|
|
cal $finished
|
|
|
|
end
|