Pardon me for my ignorance as I am new to assembly programming. Would like to seek help in this problem of mine.
I have a function which needs to be called in C and implemented in assembly. In C, the function is called "char_put(&c)" where a pointer is passed in.
1) How do I access this pointer in assembly?
2) How do I store data into the memory location pointed to by the
pointer? (Suppose to be a 8bit data)
3) When completed, the procedure needs to return a "1" if data is
store or "0" if otherwise. How do I return a value to C from
Thank you so much in advance. Any advice is appreciated.