We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have been studying the tutorial for the 8051 at http://www.8052.com. For starters, I am writing a simple assembler code for an AT89S8253 microcontroller which will read inputs on Port1 and output it to Port3. I am using the demo C51 software from KEIL and am also using the AT89ISP cable to download the hex file onto my device. I am running the XTAL1 input at 4 MHz and have the device setup on a Teradyne J750 tester. I wrote a simple program, but I am getting timer or clock-like outputs from Port2. I am not sure how to proceed (whether I need an include file, the correct syntax, etc.). Also, can you recommend good references (books, websites)? I am new at this, so I would really appreciate the help.
The code is obviously in C and not assembler, my apologies. I have been looking over examples that utilize both types.