The source bank number is written first; but, assembled second.
The destination bank is written second; but, assembled first.
static void PutBlockMove (const InsDesc* Ins)
/* Handle the blockmove instructions (65816) */
{
+ ExprNode* Arg1 = Expression ();
+
Emit0 (Ins->BaseCode);
- EmitByte (Expression ());
ConsumeComma ();
+
+ /* The operands are written in Assembly code as source, destination;
+ ** but, they're assembled as <destination> <source>.
+ */
EmitByte (Expression ());
+ EmitByte (Arg1);
}