use common instruction size when writing

we already have the instruction size available. don't need to force
myself to remeber to return it when writing instructions
compile all resource ints to big endian

also fix protocol resource to convert from big endian when loading
still need to fix remaining resources to convert when loading
tmp commit that breaks compilation

just using this to pass through to another computer