View Single Post
Old 08 June 2017, 00:24   #44
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Quote:
Originally Posted by BSzili View Post
I'll probably just use the SDI headers to make things portable.
Very good. I can recommend using SDI headers.

Quote:
Code:
    UWORD getvbr[] = {0x4e7a, 0x0801, 0x4e73}; // MOVEC.L VBR,D0 RTE
I guess this might work, if you don't want to link a separate assembler source to it. Although it would be cleaner to have the getvbr-code in the code section. Most compilers will put constant data into the code section: "const UWORD getvbr[]".
phx is offline  
 
Page generated in 0.05807 seconds with 11 queries