I have been using XCode to compile the apple file lib1funcs.asm file.
I only need two functions from it. Switch8 and Switch16. These are the errors I get when trying to compile it on 4.4 (no errors on 4.3.3):
/loomis/branches/PaperTitleBar/In2/Libraries/lib1funcs.asm:268:26: error: unexpected token in '.macro' directive
.macro do_it cond, suffix=""
^
/loomis/branches/PaperTitleBar/In2/Libraries/lib1funcs.asm:269:6: error: unexpected '.endm' in file, no current macro definition
.endm
^
/var/folders/3c/6c2mgwg94kv2xnwf9p1v42jh0000gn/T/lib1funcs-Jq8epL.s:151:2: error: invalid instruction
ldrccsb r0, [lr, r0]
^
/var/folders/3c/6c2mgwg94kv2xnwf9p1v42jh0000gn/T/lib1funcs-Jq8epL.s:152:2: error: invalid instruction
ldrcssb r0, [lr, ip]
^
<instantiation>:8:1: error: invalid symbol redefinition
___$0:
^
/loomis/branches/PaperTitleBar/In2/Libraries/lib1funcs.asm:1451:2: note: while in macro instantiation
FUNC_START switch16
^
/var/folders/3c/6c2mgwg94kv2xnwf9p1v42jh0000gn/T/lib1funcs-Jq8epL.s:163:2: error: invalid instruction
ldrccsh r0, [r0, #1]
^
/var/folders/3c/6c2mgwg94kv2xnwf9p1v42jh0000gn/T/lib1funcs-Jq8epL.s:165:2: error: invalid instruction
ldrcssh r0, [ip, #1]
^
It looks like changes to 1) the macro syntax, and 2) missing ldrccsb and ldrccsh instructions. Nothing in Xcode release notes about assembler, assume it is now using a different compiler. Tried switching the file type to both: Assembly and LLVL Assembly in the rightmost pane. Looks like the default assembly language compiler has changed. Any ideas on how to either 1) make this compile with the old compiler or 2) make changes to the lib1funcs.asm file to get it to compile with the existing compiler?
Thanks for any responses.