Musashi
Musashi copied to clipboard
% instead of & in the write byte define in the example application.
I noticed this ages ago but I only just noticed that you had pushed musashi to github. There is an issue with the example application:
example/sim.c:37
define WRITE_BYTE(BASE, ADDR, VAL) (BASE)[ADDR] = (VAL)%0xff
I presume that % is meant to be an &. This causes some really weird and hard to debug issues. :)
Doh! Fixed.