If Statements x &&
#8

In &&. If the "B" is false, it jumps to another spot in memory (with "A" true)

PHP код:
    LOAD.S.pri    fffffff8
    JZER          1
    LOAD
.S.pri    fffffffc
    JZER          1
    
CONST.pri     1
    JUMP          2
l.1
    ZERO
.pri
l.2
    JZER          0
                               
$exp
l.0                            
a8 
Without &&
PHP код:
    LOAD.S.pri    fffffff8
    JZER          3
                               
$exp
    LOAD
.S.pri    fffffffc
    JZER          4
                               
$exp
l.4                            
c8
l.3                            
c8 
Garfield:
The first code to be executed takes less. Try replacing the && down and see the results
Reply


Messages In This Thread
If Statements x && - by ipsBruno - 01.05.2012, 18:29
Re: If Statements x && - by iRemix - 01.05.2012, 18:34
Respuesta: Re: If Statements x && - by ipsBruno - 01.05.2012, 18:37
Re: If Statements x && - by Kaczmi - 01.05.2012, 18:56
Respuesta: If Statements x && - by ipsBruno - 01.05.2012, 19:00
Re: If Statements x && - by zSuYaNw - 01.05.2012, 19:08
Re: If Statements x && - by steki. - 01.05.2012, 19:13
Respuesta: If Statements x && - by ipsBruno - 01.05.2012, 19:18

Forum Jump:


Users browsing this thread: 1 Guest(s)