gibt es eine einfache Möglichkeit in der ASM-Ausgabe von pbcompiler --commented meinen eigenen Kommentar aus dem Purebasicprogramm zu bekommen?
Im Beispiel wäre das: " ; mein Kommentar eigentlich PrintN(?out_str) "
Code: Alles auswählen
OpenConsole()
s.s=PeekS(?out_str) : PrintN(s) ; mein Kommentar eigentlich PrintN(?out_str)
Input()
CloseConsole()
DataSection : out_str:
Data.s "Hallo sichtbares Universum." :EndDataSection
; pbcompiler --commented Auszug:
; ; OpenConsole()
; CALL PB_OpenConsole
; ; s.s=PeekS(?out_str) : PrintN(s)
; MOV rax,[PB_StringBasePosition]
; PUSH rax
; SUB rsp,8
; PUSH rax
; MOV rbp,l_out_str
; MOV rax,rbp
; MOV rcx,rax
; POP rdx
; SUB rsp,32
; CALL PB_PeekS
; ADD rsp,40
; LEA rcx,[v_s]
; POP rdx
; CALL SYS_AllocateString4
; MOV rcx,qword [v_s]
; CALL qword [PB_PrintN]
; ; Input()
; MOV rax,[PB_StringBasePosition]
; PUSH rax
; SUB rsp,8
; PUSH rax
; POP rcx
; SUB rsp,32
; CALL qword [PB_Input]
; ADD rsp,40
; POP qword [PB_StringBasePosition]
; ; CloseConsole()
; CALL PB_CloseConsole