In ARMv4 (ARM7TDMI) or ARMv5 (ARM9) there is no CPSR bit for endianness, so you need to use other means.
ββ 15, 7 1:
MRC p15, 0, r0, c1, c0 ; CP15 register 1
TST r0, #0x80 ; check bit 7 (B)
BNE big_endian
B little_endian
, doc (ARM DDI 0100E), , , , . , . , , (?) ARM7-, CP15 .
, - . :
LDR R0, checkbytes
CMP R0, 0x12345678
BE big_endian
BNE little_endian
checkbytes
DB 0x12, 0x34, 0x56, 0x78
, 0x12345678, 0x78563412.