On 12/05/2016 03:25 AM, Nikunj A Dadhania wrote: > + for (i = 15; i > 15 - end; i--) { > + cpu_stb_data_ra(env, addr, xt.u8[i], GETPC()); > + addr = addr_add(env, addr, 1); > + }
(1) you need to handle nb > 16. (2) don't you need different byte indexing for little-endian? r~