I thought I'd try out newasm on the test suite - this is how we do:
Failed Test Status Wstat Total Fail Failed List of failed
-
t/op/basic.t 2 512 82 25.00% 3, 7
t/op/bitwise.t 15 384015 15 100.00% 1-15
Simon Cozens:
# Simon Glover:
# > call.pasm: it has problems with things like [D - @ - 3]
# in the macros
#
# No macros any more. See the assembler PDD.
#
# > fact.pasm, local_label.pasm: it doesn't handle local
# labels like $ok
#
# No local labels either.
#
# > mops_p.pasm, pmcmops.pasm:
Simon Glover:
> call.pasm: it has problems with things like [D - @ - 3] in the macros
No macros any more. See the assembler PDD.
> fact.pasm, local_label.pasm: it doesn't handle local labels like $ok
No local labels either.
> mops_p.pasm, pmcmops.pasm: it doesn't understand PerlInt (or
On Fri, 15 Mar 2002, Simon Glover wrote:
>
> stack.pasm: it can't handle the expanded opcode names like set_i_ic
>
This actually seems to be quite easy to fix - we just return early from
expand_op is the opcode is already in expanded form. Patch again newasm
attached.
Simon
--- newasm.o
OK, I've finished trying it out on all of the files in examples/assembly.
Most of them assemble and run fine. The ones that don't are:
call.pasm: it has problems with things like [D - @ - 3] in the macros
fact.pasm, local_label.pasm: it doesn't handle local labels like $ok
stack.pasm