Getchar and PutChar

I am trying to program in assembly for the HCS12 and need to learn how to use the getchar and putchar. I did the examples I found in a book, but that does not really go into detail as to how to use them. I am trying to get an interactive adder that keeps a running sum of numbers input by the user and outputs the total when the user hits the enter key without entering a number. Any help would be greatly appreciated.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!