Rich J. wrote: > I want to load A,X, and Y with values to hplot on the screen. How can > I get the %o to load the registers with the appropriate C variable? void foo (void) { unsigned bar; ... /* Load bar into a/x */ asm ("ldy #%o+1", bar); asm ("lda (sp),y"); asm ("tax"); asm ("dey"); asm ("lda (sp),y"); /* Easier, if just a/x is needed: */ __AX__ = bar; ... } Regards Uz -- Ullrich von Bassewitz uz@remove-to-reply.musoftware.de 1:27pm up 213 days, 20:11, 70 users, load average: 0.03, 0.05, 0.11