Represent unsigned 12-bit octal numbers. Results in octal I have an HW question where I found an answer that matches mine, but their breakdown confuses me.
Ques: What is 4365 - 3412 when these values represent unsigned 12-bit octal numbers? The result should be written in octal.
I used binary and then looked up the Octal to obtain 753
Found solution: 4365-3412 = 0753
This is because 5-2 = 3 (makes sense), 6-1 = 5 (yep), 8+3-4=7 #we need a carry here, since 3&lt;4 and 4-4=0
I can see where they got 8 (I think) 3+5=8, but why did they do that and how are we getting a carry for the ending of 4-4=0. Appreciate any help/reference.
Thanks everyone! I believe I came to the right conclusion after the responses:
4365 =
4 x 8^3 + 3 x 8^2 + 6 x 8^1 + 5 x 8^0
2048 + 192 + 48 + 5 = 2293
3412 =
3 X 8^3 + 4 x 8^2 + 1 X 8^1 + 2 X 8^0
1536 + 256 + 8 + 2 = 1802
2293-1802 = 491 or OCT 753