Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Assembly tables

Status
Not open for further replies.
HI All

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?

Electronics4you
________________________________________________________
 
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.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top