[Tutorial] AMX Assembly (#emit)
#15

Quote:
Originally Posted by Sanya4
View Post
IN "Usage of stack as temporary storage":
we see:
PHP Code:
//CODE 
Did anyone get it? xD (Usually, in asm's it collects to PRI(As PRI is A, ALT is B, where a is accumulator register, b is base register))
it should be PRI / ALT, ALT / PRI would be SDIV.alt
Quote:
Originally Posted by Sanya4
View Post
IN "Finding the address of functions"

PHP Code:
new addr;
#emit CONST.pri func1
#emit STOR.S.pri addr 
Doesn't work with public function, should it be or what?!(Compared with funcidx)
As far as I know it works flawless if the function is defined before this code
Quote:
Originally Posted by Sanya4
View Post
I think, it should be:
PHP Code:
#emit CONST.pri cmdtext 
#emit LOAD.S.alt cmdtext is correct, use const.pri to get the relative address (cmdtext would be 16)
Reply


Messages In This Thread
AMX Assembly (#emit) - by Yashas - 15.10.2015, 17:33
Re: AMX Assembly (#emit) - by Yashas - 15.10.2015, 17:35
Re: AMX Assembly (#emit) - by Yashas - 15.10.2015, 17:37
Re: AMX Assembly (#emit) - by Ahmad45123 - 15.10.2015, 18:10
Re: AMX Assembly (#emit) - by SecretBoss - 15.10.2015, 20:31
Re: AMX Assembly (#emit) - by DaniceMcHarley - 17.10.2015, 08:49
Re: AMX Assembly (#emit) - by Stanford - 13.01.2016, 23:19
Re: AMX Assembly (#emit) - by darkdevil - 17.05.2016, 14:37
Re: AMX Assembly (#emit) - by Dutheil - 24.06.2016, 20:59
Re: AMX Assembly (#emit) - by Nero_3D - 24.06.2016, 21:32
Re: AMX Assembly (#emit) - by Yashas - 25.06.2016, 06:59
Re: AMX Assembly (#emit) - by Yashas - 15.07.2016, 15:00
Re: AMX Assembly (#emit) - by Luicy. - 05.08.2016, 19:07
Re: AMX Assembly (#emit) - by Sanya4 - 26.08.2016, 21:16
Re: AMX Assembly (#emit) - by Nero_3D - 27.08.2016, 03:14
Re: AMX Assembly (#emit) - by Sanya4 - 27.08.2016, 19:12
Re: AMX Assembly (#emit) - by Nero_3D - 27.08.2016, 22:15
Re: AMX Assembly (#emit) - by JakeXxX - 28.08.2016, 07:35
Re: AMX Assembly (#emit) - by spookie - 31.01.2017, 22:14
Re: AMX Assembly (#emit) - by HydraHumza - 01.02.2017, 12:03
Re: AMX Assembly (#emit) - by Dutheil - 18.07.2017, 13:43
Re: AMX Assembly (#emit) - by KushalD - 30.07.2017, 06:00
Re: AMX Assembly (#emit) - by Yashas - 01.10.2017, 09:39
Re: AMX Assembly (#emit) - by Yashas - 03.06.2018, 11:31

Forum Jump:


Users browsing this thread: 3 Guest(s)