|
@@ -312,16 +312,21 @@ unit agsdas6500;
|
|
|
var
|
|
|
i: Integer;
|
|
|
begin
|
|
|
- writer.AsmWrite(#9#9+std_op2str[hp.opcode]);
|
|
|
- if (taicpu(hp).ops<>0) or (hp.condition<>C_None) then
|
|
|
+ if hp.opcode=A_Bxx then
|
|
|
+ begin
|
|
|
+ if hp.condition=C_None then
|
|
|
+ internalerror(2024040702);
|
|
|
+ writer.AsmWrite(#9#9'b'+cond2str[hp.condition]);
|
|
|
+ end
|
|
|
+ else
|
|
|
begin
|
|
|
- writer.AsmWrite(#9);
|
|
|
if hp.condition<>C_None then
|
|
|
- begin
|
|
|
- writer.AsmWrite(uppercond2str[hp.condition]);
|
|
|
- if taicpu(hp).ops<>0 then
|
|
|
- writer.AsmWrite(',');
|
|
|
- end;
|
|
|
+ internalerror(2024040703);
|
|
|
+ writer.AsmWrite(#9#9+std_op2str[hp.opcode]);
|
|
|
+ end;
|
|
|
+ if taicpu(hp).ops<>0 then
|
|
|
+ begin
|
|
|
+ writer.AsmWrite(#9);
|
|
|
for i:=0 to taicpu(hp).ops-1 do
|
|
|
begin
|
|
|
if i<>0 then
|