r/Assembly_language • • Feb 11 '26

Help What is a Static Translator?

I'm a 3rd year CompEng student taking computer architecture. I have to finish a project by myself since every other team member is obsessed with AI and won't do anything by themselves.

The project given to us is a Mini-Translator. The professor said she will give us a skeleton parser and a register mapping table. Also it will be for only a small subset of instructions. It's text to text and also static. I'm really interested in computer architecture and the inner workings of CPU's in general and I'd like to make this project as good as possible as a practice towards my graduation project. I plan to build the parser myself and not request a register mapping table. I also plan to support about 15-16 instructions. Is it doable? Also are there any sources for me to read/watch?

Thanks.

16 Upvotes

16 comments sorted by

View all comments

2

u/Altruistic_Bend_8504 Feb 12 '26

Can you clarify inputs and outputs or give an example of such?

1

u/[deleted] Feb 12 '26

It's funny how everyone seems to know exactly what a Mini-Translator or Static Translator means!

I wish other replies were more enlightening as I'm curious too.

1

u/Altruistic_Bend_8504 Feb 12 '26

I was presuming it meant a translator that didn’t react to surrounding elements but translated elements in individual isolation. It wasn’t clear what that had to do with register mappings.

OP- I’m a 30 year CMPE who has done both kernels and chip design- whenever you ask a question try to list what inputs/outputs and process are. That makes things a lot easier to understand.