I have a bit of assembly I was able to decrypt as part of an online puzzle. I keep getting the same error when I try to run it.
Error: invalid name.
Description:
Instruction: F459:30 0C BMI RTS1
I've tried renaming the label to several different things in case its some kind of instruction conflict but that hasn't helped. Here's the relevant piece of code:
F44E: D0 F3 BNE SWAP1
F450: 60 RTS
F451: A9 8E FLOAT LDA #$8E
F453: 85 F8 STA X1
F455: A5 F9 NORM1 LDA M1
F457: C9 C0 CMP #$C0
F459: 30 0C BMI RTS1
F45B: C6 F8 DEC X1
F45D: 06 FB ASL M1+2
F45F: 26 FA ROL M1+1
F461: 26 F9 ROL M1
F463: A5 F8 NORM LDA X1
F465: D0 EE BNE NORM1
F467: 60 RTS1 RTS
F468: 20 A4 F4 FSUB JSR FCOMPL
F46B: 20 7B F4 SWPALGN JSR ALGNSWP
What is going wrong here? Is it actually the BMI instruction? the following instruction? the instruction after the branch? I've never written x86 assembly so I'm a bit at a loss here, I'd love any help.