Where can I learn more about using Assembly inside PB?
Where can I learn more about using Assembly inside PB?
I want to start learning more about assembly(I know a few things, mostly just register names etc) and how I can go about using it inside of PureBasic. Are there any resources available for it specifically in PB? If not what would you guys suggest I read from? I've looked at and downloaded FASM, but the assembly does not seem to mix well with PB. But that's because I'm dumb 
▓▓▓▓▓▒▒▒▒▒░░░░░
Re: Where can I learn more about using Assembly inside PB?
I can only help a little here... Dunno much about assembly, but at least it shows a bit how to enter things in PureBasic...
http://www.xs4all.nl/~bluez/purebasic/p ... 10.htm#top
http://www.xs4all.nl/~bluez/purebasic/p ... 10.htm#top
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Re: Where can I learn more about using Assembly inside PB?
FASM is a good choice because that's what PB outputs.
Try using the /COMMENTED flag when you compile a program in PB and the Purebasic.asm file
will be left in your directory to have a look at. It can be quite instructive.
There's a bunch of assembler links here...
http://www.cheapersunglasses.com/asm.html
.. yes, really.
The Intel x64 and IA32 SW Developers' manual is available here...
http://www.intel.com/assets/pdf/manual/253666.pdf
There's also the Architecture manual...
http://www.intel.com/Assets/pdf/manual/253667.pdf
WARNING - these are LARGE documents.
I added some simple assembler / data stuff to another thread yesterday - see...
http://www.purebasic.fr/english/viewtop ... 13&t=44484
Good luck with your assembler adventure.
Try using the /COMMENTED flag when you compile a program in PB and the Purebasic.asm file
will be left in your directory to have a look at. It can be quite instructive.
There's a bunch of assembler links here...
http://www.cheapersunglasses.com/asm.html
.. yes, really.
The Intel x64 and IA32 SW Developers' manual is available here...
http://www.intel.com/assets/pdf/manual/253666.pdf
There's also the Architecture manual...
http://www.intel.com/Assets/pdf/manual/253667.pdf
WARNING - these are LARGE documents.
I added some simple assembler / data stuff to another thread yesterday - see...
http://www.purebasic.fr/english/viewtop ... 13&t=44484
Good luck with your assembler adventure.


