|
@@ -436,6 +436,16 @@ unit agarmgas;
|
|
|
internalerror(2003112903);
|
|
|
end;
|
|
|
end
|
|
|
+ { syscall number for vasm does not need a # }
|
|
|
+ else if (target_asm.id=as_arm_vasm) and (i=0) and ((op=A_SWI) or (op=A_SVC)) then
|
|
|
+ begin
|
|
|
+ case taicpu(hp).oper[0]^.typ of
|
|
|
+ top_const:
|
|
|
+ s:=s+sep+tostr(taicpu(hp).oper[0]^.val);
|
|
|
+ else
|
|
|
+ internalerror(2021052301);
|
|
|
+ end;
|
|
|
+ end
|
|
|
else
|
|
|
s:=s+sep+getopstr(taicpu(hp).oper[i]^);
|
|
|
|