Aspect oriented programming: Difference between revisions

Content added Content deleted
Line 23: Line 23:
=={{header|6502 Assembly}}==
=={{header|6502 Assembly}}==
The easiest way to do this is by putting every related function into the same file. One important thing to remember is that in 6502 (and most other assembly languages for that matter, unless linkers are involved), the order in which your code is placed implies its memory location. This is not the case in other languages, not even in [[C]].
The easiest way to do this is by putting every related function into the same file. One important thing to remember is that in 6502 (and most other assembly languages for that matter, unless linkers are involved), the order in which your code is placed implies its memory location. This is not the case in other languages, not even in [[C]].
<lang 6502asm>SwapXY:
<lang 6502asm>;Basic_Functions.asm
SwapXY:
pha
pha
txa
txa
Line 50: Line 51:
;
;
; unimplemented because it's dependent on the video hardware but you get the idea</lang>
; unimplemented because it's dependent on the video hardware but you get the idea</lang>



=={{header|Ada}}==
=={{header|Ada}}==