I was wondering how do you convert from an 8 bit 2's complement to a 16 bit 2's complement signed number?
1100 0110 is an example
It's called sign extending. You simply repeat the most significant bit until you have the right number of bits. For your example, it would be 1111 1111 1100 0110
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With