Kingcom / armips

An assembler for various ARM and MIPS platforms. Builds available at http://buildbot.orphis.net/armips/
MIT License
363 stars 77 forks source link

Accommodate for word size differences between different architectures. #236

Closed Fothsid closed 1 year ago

Fothsid commented 1 year ago

SuperH architecture uses 16-bit words, unlike ARM and MIPS. This PR changes the behavior of .dh, .dw, .dd and the like to match the current architecture's word size. Directives .d8, .d16, .d32 and .d64 have also been added so that the user would be able to write 8/16/32/64 values without having to think about the architecture word size. SuperH tests have also been edited to accommodate for these changes.