]> Shamusworld >> Repos - rmac/commit
Added "legacy mode" to assembler, which is on by default.
authorShamus Hammons <jlhamm@acm.org>
Mon, 13 Jan 2014 03:44:04 +0000 (21:44 -0600)
committerShamus Hammons <jlhamm@acm.org>
Mon, 13 Jan 2014 03:44:04 +0000 (21:44 -0600)
commit61ba7cfa9ae30c0c8211e12b00924ce4efc2c847
treeda6d3c6f18be60bc5394c2f7ae4b1b10ae4a0b6f
parent75969398d9b8a9f82ea76fc4e4cbfb97b11160a4
Added "legacy mode" to assembler, which is on by default.

Apparently MAC did fixups for programmers who forgot that they couldn't
put a MOVEI immediately after a JUMP or JR, so we do the same to keep
legacy code assembling (though we may flip the default to OFF at some
time in the future :-P). If you don't like the assembler doing stuff like
that behind your back, you can tell it not to by adding the -n switch to
your command line.

There are lots of other cases that the user should be warned about with
RISC code; these will be added in future commits. :-)
riscasm.c
rmac.c
rmac.h
version.h