티스토리 뷰
산술적 시프트(arithmetic shift) : 수(number)를 나타내는 데이터에 대한 시프트
§방법: 시프트 과정에서 부호 비트는 그대로 유지시키고, 수의 크기를 나타내는 비트들만 시프트
(1) 산술적 좌측-시프트(arithmetic shift-left)
A4 (불변), A3 ß A2, A2 ß A1, A1 ß 0
(2) 산술적 우측-시프트(arithmetic shift-right)
A4 (불변), A4 à A3, A3 à A2, A2 à A1
'It' 카테고리의 다른 글
POS (판매시점 관리 : Point of Sale) System (0) | 2023.04.03 |
---|---|
직렬 데이터 전송 (serial data transfer) (0) | 2023.04.02 |
C 플래그를 포함한 시프트 연산 (0) | 2023.03.31 |
노화의과정 (0) | 2023.03.30 |
피부의노화 (0) | 2023.03.29 |
댓글
Blog is powered by
Tistory / Designed by
Tistory