pico430prog/test/rl78/romhdr.S

35 lines
633 B
ArmAsm

.section .vectors, "a", %progbits
_VECTORS:
_vtor_RST:
.2byte _start
/* other vectors... */
.2byte 0xffff
.section .callt, "a", %progbits
_CALLT:
.2byte 0xffff
.section .option, "a", %progbits
/* option bytes */
_OPTION:
/* 0x000C0: wdt settings */
.byte 0x6e /* wdt disable */
/* 0x000C1: */
.byte 0x7f /* LVD reset, 2.81V */
/* 0x000C2: */
.byte 0xe8 /* HSmode, HOCO@32MHz */
/* 0x000C3: debug settings */
/*.byte 0x85*/ /* enabled */
.byte 0x00 /* disabled! */
.section .password, "a", %progbits
/* debugger password: ten 0xff bytes */
_PASSWORD:
.byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00