3 ms·
its not too bad syntax really. asm('asm code' : 'outputs' : 'inputs') you can even use labels in it etc. for in/ouputs so it's 'easily readable'. People just
by sim7c00 2y ago
its not too bad syntax really.
asm('asm code' : 'outputs' : 'inputs')
you can even use labels in it etc. for in/ouputs so it's 'easily readable'.
People just write it really lazy, don't use proper formatting / whitespace which makes it really difficult to read _other_peoples_inline_assembly.
I'd wager if you write it nicely with comments etc. it's quite alright. with some macros it might be more beautiful but imho those are harder/more annoying to interpret.
https://pastebin.com/S0x9hKJP https://pastebin.com/S0x9hKJP <-- this isn't too bad is it? ignore that it has bugs xD