Hi there, looking for a bit of help with some code from an 8051 based ECU.
All I want to know is how the serial port is configured in the following assembly:-
Assembly of prog
bin dump of 27128
And a bit of background info if you need it:-
Scan of solder side
Scan of components
bin dump of 28c64
Processor is P80C51FA L9080077 S F10 INTEL 1980
Crystal is a 12.000
I've found out from reading tutorials that its all to do with how the SCON (98h), PCON (87h) and TCON (88h) are set, and all i've found so far is that SCON (98h) is set to #50h which i think is 01010000, and TCON (88h) is set to 05h being 00000101, but when I try to relate this to the SFR's I just cant make sense of it, but i guess i just dont know what i'm doing really.
I've spent the last two days trying to work it out for myself but i just dont know enought assembly yet, but i'm getting better, slowly, very slowly