Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Asm code and C imme

Hi, In my project, I define a imme in *.c file: #define SPI_0_BASE 0x00800980 In one of my asm routine, I wanna use this imme, how could I do? asm("movhi r15,%hi(SPI_0_BASE...