Getchar and PutChar - Programmers Heaven

Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.