So when I am counting a length for a routine to put in the address.txt file, do I just count how many lines/ASM commands there are?
For example, if void __attribute__((naked,noinline)) boot() was "loc_FF00000C:\n"
"LDR R1, =0xC0410000\n"
"MOV R0, #0\n"
"STR R0, [R1]\n"
"MOV R1, #0x78\n"
"MCR p15, 0, R1,c1,c0\n"
"MOV R1, #0\n"
"MCR p15, 0, R1,c7,c10, 4\n"
"MCR p15, 0, R1,c7,c5\n"
"loc_FF00002C:\n"
"MCR p15, 0, R1,c7,c6\n"
"MOV R0, #0x3D\n"
"MCR p15, 0, R0,c6,c0\n"
"MOV R0, #0xC000002F\n"
"MCR p15, 0, R0,c6,c1\n"
"MOV R0, #0x35\n"
"MCR p15, 0, R0,c6,c2\n"
"MOV R0, #0x40000035\n"
"MCR p15, 0, R0,c6,c3\n"
"MOV R0, #0x80000017\n"
"MCR p15, 0, R0,c6,c4\n"
"LDR R0, =0xFF80002F\n"
"MCR p15, 0, R0,c6,c5\n"
"MOV R0, #0x34\n"
"MCR p15, 0, R0,c2,c0\n"
"MOV R0, #0x34\n"
"MCR p15, 0, R0,c2,c0, 1\n"
"MOV R0, #0x34\n"
"MCR p15, 0, R0,c3,c0\n"
"LDR R0, =0x3333330\n"
"MCR p15, 0, R0,c5,c0, 2\n"
"LDR R0, =0x3333330\n"
"MCR p15, 0, R0,c5,c0, 3\n"
"MRC p15, 0, R0,c1,c0\n"
"ORR R0, R0, #0x1000\n"
"ORR R0, R0, #4\n"
"ORR R0, R0, #1\n"
"MCR p15, 0, R0,c1,c0\n"
"MOV R1, #0x80000006\n"
"MCR p15, 0, R1,c9,c1\n"
"MOV R1, #6\n"
"MCR p15, 0, R1,c9,c1, 1\n"
"MRC p15, 0, R1,c1,c0\n"
"ORR R1, R1, #0x50000\n"
"MCR p15, 0, R1,c1,c0\n"
"LDR R2, =0xC0200000\n"
"MOV R1, #1\n"
"STR R1, [R2,#0x10C]\n"
"MOV R1, #0xFF\n"
"STR R1, [R2,#0xC]\n"
"STR R1, [R2,#0x1C]\n"
"STR R1, [R2,#0x2C]\n"
"STR R1, [R2,#0x3C]\n"
"STR R1, [R2,#0x4C]\n"
"STR R1, [R2,#0x5C]\n"
"STR R1, [R2,#0x6C]\n"
"STR R1, [R2,#0x7C]\n"
"STR R1, [R2,#0x8C]\n"
"STR R1, [R2,#0x9C]\n"
"STR R1, [R2,#0xAC]\n"
"STR R1, [R2,#0xBC]\n"
"STR R1, [R2,#0xCC]\n"
"STR R1, [R2,#0xDC]\n"
"STR R1, [R2,#0xEC]\n"
"STR R1, [R2,#0xFC]\n"
"LDR R1, =0xC0400008\n"
"LDR R2, =0x430005\n"
"STR R2, [R1]\n"
"MOV R1, #1\n"
"LDR R2, =0xC0243100\n"
"STR R2, [R1]\n"
"LDR R2, =0xC0242010\n"
"LDR R1, [R2]\n"
"ORR R1, R1, #1\n"
"STR R1, [R2]\n"
"LDR R0, =0xFF4B4DFC\n"
"LDR R1, =0x1900\n"
"LDR R3, =0x11C18\n"
"loc_FF00013C:\n"
"CMP R1, R3\n"
"LDRCC R2, [R0],#4\n"
"STRCC R2, [R1],#4\n"
"BCC loc_FF00013C\n"
"LDR R1, =0x18A7FC\n"
"MOV R2, #0\n"
"loc_FF000154:\n"
"CMP R3, R1\n"
"STRCC R2, [R3],#4\n"
"BCC loc_FF000154\n"
"B sub_FF000358_my\n"
(90 lines)
my address entry for boot would be "boot 0xFF00000C 90"
yes?