Open maximumspatium opened 4 years ago
I'm also more used to "bra.s" instead of "bra.b" from the Atari assemblers/disasseblers. So FWIW, I'm in favour of switching to .s instead of using .b here.
A tool I use has recently begun implementing Capstone and this issue has popped up. I second the use of bra.s - I've never seen the other use either on the native platform or with modern cross assemblers.
Indeed, bra.s is my preferred choice as well!
I have to agree with the previous posters: The mnemonic for a short branch has always been BRA.S
-- all the way back to the original 68k assembler by Motorola: https://archive.org/details/bitsavers_motorolave000AsmJul83_3899531/page/n15/mode/2up?view=theater
Capstone engine uses the .B/.W/.L suffixes for the branch attribute. Examples:
While being consequent, the common suffix for the short branch is
BRA.S
though. That's what the most 68k disassemblers out here will generate for the first instruction.Question: should we use the more common syntax for short branches?