21.08.2012, 17:57
Hello. I've started playing with emit, and sometimes I start with normal pawn to understand how things work. And I came across thing I don't understand
Code which does nothing
After compiling to asm:
Wait, what?
This is my question. How the abstract machine can tell diffrence between Wat and WTF functions? Are there some additional things I can't see? Thanks
Code which does nothing
pawn Код:
main() {
WTF();
Wat();
}
stock WTF() {}
stock Wat() {}
Код:
CODE 0 ; 0 ;program exit point halt 0 proc ; main ; line 1 ; line 2 break ; c push.c 0 call WTF ;$exp ; line 3 break ; 20 push.c 0 call Wat ;$exp zero.pri retn proc ; WTF ; line 6 zero.pri retn proc ; Wat ; line 8 zero.pri retn STKSIZE 1000
Код:
call WTF call Wat