Code: Select all
; Linux ASM Backend ExamineAssembly invalid InstructionString
DisableDebugger
Code_Start:
a = (Random(100) * 5) + 2000
Code_End:
Text$ = "Disassemblierter Code: " + Chr(13)
If ExamineAssembly(?Code_Start, ?Code_End)
While NextInstruction()
Text$ + RSet(Hex(InstructionAddress()), SizeOf(Integer)*2, "0")
Text$ + " " + InstructionString() + Chr(13)
Wend
EndIf
MessageRequester("Ergebnis", Text$)
EnableDebugger
Debug Text$
; ASM Backend:
; Disassemblierter Code:
; 0000000000405065 push dword 0x64
; 000000000040506A pop rdi
; 000000000040506B call dword 0x42d190
; 0000000000405070 mov r15, rax
; 0000000000405073 invalid
Edit: Add Link