This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The most simple A51 program

Hi
I just bought the MCB900 ver.4 with LPC935.
I have programmed the first demo program into the flash - CheckLed - and it works fine on the eval board.

I have many experiences with the old non Keil DOS assembler but I don't know yet to manage Keil A51. As I have found there are only C examples on the CD, but this is useless for me.

PLEASE, can somebody save me some hours and show the short *.A51 program which will flash or do something else with the
MCB900 on board LEDs.
I really can't understand why I can't find some A51 examples on the enclosed CD.

Parents Reply Children
  • "They seem functionally the same to me."

    Not at all.

    MOV is a single processor instruction.

    putchar is a function; ie, a sequence of instructions that you call to perform some required operation.

    The putchar function in the ASAMPLE expample first waits for the TI flag to be set, then clears it, then uses a MOV instruction to copy the byte from the Accumulator into SBUF, then returns.

    The putchar function provided in the C51 library also expands '\n' into CR LF and handles XON/XOFF software flow control.