Can you give an example of where you would want to convert a number to its 2's complement?@MrChips Because i want to learn how such things work
You misunderstand. I am here to help you.@MrChips If you dont want to help, it doesnt matter, you dont have to
I just wanted to make a challenge for myself and understand how i would make a circuit of this topic.
But i dont know the answer, so i asked.
If it was a fixed number of bits, you could just make a truth table.But i dont know the answer, so i asked.

If you are bored, there is a chap here who is building his own 8-bit computer. Maybe you can lend him a hand. He's lonely.@MrChips Okay sorry for missunderstanding you
Its just because im a bit bored and wanted to do something with my time, nothing special
You are welcome.@MrChips Thanks for helping
If you know how to do something manually, then that is usually a good first step in figuring out a circuit to do it.@WBahn What do you mean ? I know how to convert it "manually" but how can i realize it in a circuit ?