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
|
2019-02-13 19:10:38 +00:00
|
|
|
mone
|
|
|
|
rom -1
|
|
|
|
big
|
2019-02-13 19:56:10 +00:00
|
|
|
rom 258
|
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-13 19:56:10 +00:00
|
|
|
/* Or big var with const */
|
2018-09-14 13:13:35 +00:00
|
|
|
|
2019-02-13 19:56:10 +00:00
|
|
|
loe big
|
2019-02-08 21:38:07 +00:00
|
|
|
loc 1
|
|
|
|
ior EM_WSIZE
|
2019-02-13 19:56:10 +00:00
|
|
|
loc 259
|
2018-09-14 13:13:35 +00:00
|
|
|
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
|
|
|
|
|
2019-02-13 19:10:38 +00:00
|
|
|
/* Or big const with negative var */
|
|
|
|
|
|
|
|
loc 1000
|
|
|
|
loe mone
|
|
|
|
ior EM_WSIZE
|
|
|
|
loc -1
|
|
|
|
cmu EM_WSIZE
|
|
|
|
zeq *6
|
|
|
|
|
|
|
|
loc __LINE__
|
|
|
|
cal $fail
|
|
|
|
asp 4
|
|
|
|
6
|
|
|
|
|
|
|
|
/* Or big var with negative const */
|
|
|
|
|
|
|
|
loe big
|
|
|
|
loc -1
|
|
|
|
ior EM_WSIZE
|
2019-02-13 19:56:10 +00:00
|
|
|
loc -1
|
2019-02-13 19:10:38 +00:00
|
|
|
cmu EM_WSIZE
|
|
|
|
zeq *7
|
|
|
|
|
|
|
|
loc __LINE__
|
|
|
|
cal $fail
|
|
|
|
asp 4
|
|
|
|
7
|
|
|
|
|
2019-03-08 22:06:34 +00:00
|
|
|
/* Or var with big low-byte-zero const */
|
|
|
|
|
|
|
|
loe big
|
|
|
|
loc 256
|
|
|
|
ior EM_WSIZE
|
|
|
|
loc 258
|
|
|
|
cmu EM_WSIZE
|
|
|
|
zeq *8
|
|
|
|
|
|
|
|
loc __LINE__
|
|
|
|
cal $fail
|
|
|
|
asp 4
|
|
|
|
8
|
|
|
|
|
2018-09-14 13:13:35 +00:00
|
|
|
cal $finished
|
|
|
|
end
|