Posted by Wuzzeb on 2000-07-29
How can I implement Assembly Language in a c++ program? What I am tring to do is write a c++ class that is a one byte number with all the operators overloaded so it acts exactly like ints and longs. I think the best way to do this would be to acctually use assembly language commands in the overloaded operator functions like operator+ and operator-. Other suggestions are welcome. Also, is there any way for my class to use the unsigned reserved word? What I mean is if my class was called tiny, a definition like unsigned tiny would be recognized. Otherwise, I can just write 2 classes like stiny and utiny, and maybe derive them from some base class. Thanks, John ===== -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Wuzzeb the Wise wuzzeb@xxxxx.xxx -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/
Previous post | Next post | Timeline | Home