18:09:31froggeyif you want to check what you've assembled, you can copy the bytes into an assembly file as bytes and assemble it with binutils' assembler
18:10:47froggeythe mezzano assembler will produce a vector of bytes like #(1 2 3 4), you can create a file call foo.s containing ".byte 1, 2, 3, 4"
20:35:15froggeythe label "test4" will be at offset 0, the instruction "b test4" will be at offset 12. if b instructions are pc-relative (and it looks like they are), then "b test4" is encoded as "branch backwards 12 bytes"
20:52:58froggeyit requires understanding a complicated manual and implementing a whole bunch of repetitive code
20:53:47froggeymezzano doesn't have a disassemble function because I got tired of implementing the x86 assembler and didn't want to write a disassembler
20:54:17ebrascawhy someone don't make some universal assembler maker?
20:55:23ebrascafroggey: I don't know if I can end ppc64.
20:56:19froggeytake a break, come back to it in a week or a month or something