Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sub Fastcall behaviour
#6
na_th_an Wrote:No, it's incredibly useful. What I meant is that the behaviour "you can't really use the variables" should be documented. I mean, if the fastcall sub has a byte parameter "X", that parameter goes into the A register, but that's it, there's no "X" local variable you can use. Well, there is, but the value is not.
Hmmm. Maybe the compiler can issue a Warning like "Warning: Fastcalled var is not accesible" :?:
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)