rom 3
one
rom 1
+mone
+ rom -1
big
rom 256
asp 4
5
+ /* And big const with negative var */
+
+ loc 257
+ loe mone
+ and EM_WSIZE
+ loc 257
+ cmu EM_WSIZE
+ zeq *6
+
+ loc __LINE__
+ cal $fail
+ asp 4
+6
+
+ /* And big var with negative const */
+
+ loe big
+ loc -1
+ and EM_WSIZE
+ loe big
+ cmu EM_WSIZE
+ zeq *7
+
+ loc __LINE__
+ cal $fail
+ asp 4
+7
+
cal $finished
end
rom 0
one
rom 1
+mone
+ rom -1
+big
+ rom 257
/* Or var with var */
asp 4
5
+ /* 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
+ loe big
+ cmu EM_WSIZE
+ zeq *7
+
+ loc __LINE__
+ cal $fail
+ asp 4
+7
+
cal $finished
end
rom 3
one
rom 1
+mone
+ rom -1
+big
+ rom 1001
/* Xor var with var */
asp 4
5
+ /* Xor big const with negative var */
+
+ loc 1001
+ loe mone
+ xor EM_WSIZE
+ loc -1002
+ cmu EM_WSIZE
+ zeq *6
+
+ loc __LINE__
+ cal $fail
+ asp 4
+6
+
+ /* Xor big var with negative const */
+
+ loe big
+ loc -1
+ xor EM_WSIZE
+ loc -1002
+ cmu EM_WSIZE
+ zeq *7
+
+ loc __LINE__
+ cal $fail
+ asp 4
+7
+
+
cal $finished
end