LoginSignup
0
0

More than 5 years have passed since last update.

2の補数 > 加算するか減算するかを決めるために、加算器もしくは減算器においてオペランドの符号を調べる必要がない

Last updated at Posted at 2015-05-08

引用: C/C++ セキュアコーディング 第2版 by Robert C. Seacordら


補数を使う利点

減算が加算として行える
- 減算回路を使用しなくてよくなる
- ハードウェアの構造を簡単にできる

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0