I'm making a micro-controller simulator in C++. I want to do the syntax checking with the standard instruction set. How do i store this? Array? any better idea?
Printable View
I'm making a micro-controller simulator in C++. I want to do the syntax checking with the standard instruction set. How do i store this? Array? any better idea?
an array of function pointers would do, if you have some sort of "pseudo instructions" like assembler then you could use the map in stl to retrieve function per string.
Thanks a lot for the suggestion.