From: Todd Elliott (eyeth_at_videocam.net.au)
Date: 2003-10-31 15:20:17
On Fri, 31 Oct 2003, Ullrich von Bassewitz wrote: > Since the absolute code is placed in the same segment, the PC will have the > value before the absolute code + the size of the absolute code. If you don't > want this, you will have to put the absolute code into its own segment and > place it, using the linker. > Hello. This PC behavior is what I was expecting from my example I outlined earlier. The relocated segment, set with an .org $5f00, was actually $AD bytes long. Theoretically, the PC value after this code block should be the value before the absolute code + $AD. This did not happen. It was like the value before the absolute code + $0179. I will try to explore other means of doing code that is destined for somewhere else in memory. But, I liked my method better as it's more intuitive and easier to implement. Thanks, -- Todd Elliott ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-10-31 15:23:02 CET