Hello,
I'm trying to understand my radio, a Becker BE2560, as used in the alfa romeo 166.
The radio part uses an 80c535 from Siemens, which should be 8051 compatible.
I've dumped the eprom, and cannot make any sense of the program.
The first 17 bytes are:
Which makes no sense, especially not since the 17th byte is 0x22, i.e. "RET".
An 8051 (or derivative) starts its program at 0x0000, so where does it return to?
I'm trying to understand my radio, a Becker BE2560, as used in the alfa romeo 166.
The radio part uses an 80c535 from Siemens, which should be 8051 compatible.
I've dumped the eprom, and cannot make any sense of the program.
The first 17 bytes are:
Code:
C0 D0 70 03 E9 80 08 50 03 29 80 03 C9 C3 99 C3 22
Code:
//
// CODE
// CODE:0000-CODE:1fff
//
*************************************************************
* FUNCTION
*************************************************************
undefined FUN_CODE_0000 ()
undefined ACC:1 <RETURN>
FUN_CODE_0000
CODE:0000 c0 d0 PUSH PSW
CODE:0002 70 03 JNZ LAB_CODE_0007
CODE:0004 e9 MOV A,R1
CODE:0005 80 08 SJMP LAB_CODE_000f
LAB_CODE_0007 XREF[1]: CODE:0002 (j)
CODE:0007 50 03 JNC LAB_CODE_000c
CODE:0009 29 ADD A,R1
CODE:000a 80 03 SJMP LAB_CODE_000f
LAB_CODE_000c XREF[1]: CODE:0007 (j)
CODE:000c c9 XCH A,R1
CODE:000d c3 CLR CY
CODE:000e 99 SUBB A,R1
LAB_CODE_000f XREF[2]: CODE:0005 (j) , CODE:000a (j)
CODE:000f c3 CLR CY
CODE:0010 13 RRC A
CODE:0011 93 MOVC A,@A+DPTR
CODE:0012 f5 f0 MOV B,A
CODE:0014 d0 d0 POP PSW
*************************************************************
* FUNCTION
*************************************************************
undefined FUN_CODE_0016 ()
undefined ACC:1 <RETURN>
FUN_CODE_0016
CODE:0016 22 RET
Which makes no sense, especially not since the 17th byte is 0x22, i.e. "RET".
An 8051 (or derivative) starts its program at 0x0000, so where does it return to?