 Question:
Using the Simulator, Not able to read the serial
port using the command in assembly language (LAMMDRR). The LAMMDRR command works fine with
the Emulator. Using the Emulator, not able to read the serial port using the IN command.
The IN command works fine with the simulator. He wants to use either command with both the
simulator and emulator. He can only use one or the other with each command.
Answer: Use IRQ , instead
of polling. It appears that you have not CLR the RRDy (bit 10) in the Serial port control
Reg's. Once this is done you should be able to read results using both of the above
instructions without so much conflict. If this isn't a fix for your problem call or us
back for additional assistance. |