On the stack, a 4-byte value is apparently pushed in the order of lower word first, then upper word. Oh no...
see. shin@ack:~/ack-6800$ cat tests/plat/core/cii,e,.e
#if EM_WSIZE == 2
/* Positive byte->dword */
loe onebyte
loc 1
loc 4
cii
loc 0
loc 1
cmu 4
zeq *3
loc __LINE__
cal $fail
asp 4
On the stack, a 4-byte value is apparently pushed in the order of lower word first, then upper word. Oh no...
see. shin@ack:~/ack-6800$ cat tests/plat/core/cii,e,.e