Is it possible to make a table or function table in assembly languege e.g. I have four inputs, when the value for example becomes 0110, I need and output "1" on RC7 and RD1. Is thet possible or are there other ways?
Yes, all you need to do is create a pointer to the top of your table, then add your input value to it to create an offset. It's the best strategy for tables longer than a few bytes.