summary refs log tree commit diff
path: root/code/move-bootloader.c
blob: 1aa938a41c015d6b7ac3e1305065893ce3dc8957 (plain)
1
2
3
4
5
6
7
8
9
10
11
#define codeStart 900

int main() {
    // set up stack
    *(volatile unsigned char *)0x7000 = 0x6000;
    volatile unsigned char* codePointer = 0;
    while ()
    {
        volatile unsigned char* targetPointer = 0x6000 + codePointer;
    }
}