- #1
Bourbon daddy
- 24
- 0
Hi guys,
I sure this is an astonishingly dumb question, but I am new to embedded systems, so don't be too harsh.
I am taking embedded systems in final year at uni and working through some introductory tutorial sheets.
One question asks;
-If two n-bit numbers are added together, what memory size is required to hold the result?
-If two n-bit numbers are multiplied together, what memory size is required to hold the result?
-If an n-bit number is multiplied with an m-bit number, what memory size is required to hold the result?
What is an n-bit number and how does it differ to an m-bit number? I assume they are just to variable integers, and at first I presumed they could just be any size, but I would not know how to express the answer if this were the case.
I sure this is an astonishingly dumb question, but I am new to embedded systems, so don't be too harsh.
I am taking embedded systems in final year at uni and working through some introductory tutorial sheets.
One question asks;
-If two n-bit numbers are added together, what memory size is required to hold the result?
-If two n-bit numbers are multiplied together, what memory size is required to hold the result?
-If an n-bit number is multiplied with an m-bit number, what memory size is required to hold the result?
What is an n-bit number and how does it differ to an m-bit number? I assume they are just to variable integers, and at first I presumed they could just be any size, but I would not know how to express the answer if this were the case.