[Done] End ExitCode hardcoded to 0

All bugs related to new C backend
User avatar
chi
Addict
Addict
Posts: 864
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

[Done] End ExitCode hardcoded to 0

Post by chi »

Code: Select all

exitcode = 1
End exitcode

;;; ASM
; ; exitcode = 1
;   MOV    qword [v_exitcode],1
; ; End exitcode
;   MOV    rax,qword [v_exitcode]
;   MOV    [PB_ExitCode],rax

;;; GCC
; // exitcode = 1
; v_exitcode=1;
; // End exitcode
; PB_ExitCode=0;
Et cetera is my worst enemy
juergenkulow
User
User
Posts: 64
Joined: Wed Sep 25, 2019 10:18 am

Re: End ExitCode hardcoded to 0

Post by juergenkulow »

Code: Select all

// Define vari.w=4700
v_vari=4700;
// End 1+vari+2+3*4
PB_ExitCode=12;
Fred
Administrator
Administrator
Posts: 14413
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: End ExitCode hardcoded to 0

Post by Fred »

Fixed.
Post Reply