dotnot

Apr 07, 2010 13:59

In spite of it all, I am quite liking the idea of assemblies. It's about time the arbitrary conceptual distinction between executables and libraries got thrown away, an executable is after all just a library with a default entry point ( Read more... )

Leave a comment

Comments 2

rowanlangley April 7 2010, 21:34:50 UTC
Ahh,
Happy memories of the Salford Univeristy FTN77 Fortran compiler with the nice wee extensions which were
CODE
C This allows the next bits of programming to be
C in assembly language until the instruction
EDOC
C After which we are back to FORTRAN77 again

Thus a fast subroutine could be realised in assembler but use the straightforward variable passing structures of FORTRAN's "SUBROUTINE" or "FUNCTION" statements.

Happy days

Reply

muppethex April 8 2010, 10:10:11 UTC
It's fairly easy to stick inline assembly in 56f80x C too, either using _asm and _endasm for short bits or by declaring the whole function as asm. You've then got to try and figure out which registers the arguments got put in though ;)

It's often easier to fix problems on the embedded side because I've got more or less complete control and all of the source, whereas with Windows it's often a case of stabbing around in the dark until I hit something!

Reply


Leave a comment

Up