본문 바로가기
컴퓨터구조

[컴퓨터구조] 논리 마이크로연산(Logic Microoperations), 쉬프트 마이크로연산(Shift Microoperations)

by 유노brain 2023. 9. 19.
반응형

논리 마이크로연산(List of logic μoperation)

16r가지 논리 마이크로연산

Hardware 구현

하드웨어 구현 그림

하드웨어 구현에 대한 설명

위의 하드웨어 구현은 논리회로의 한 단계만 구현한 것이다.

Fuction table에 맞게 Hardware를 구현하면 다음과 같다.

Applications


Shift Microoperaionsμ

Logical shift (end postition은 0으로 채워진다)

Shift μoperations
Symbolic designation Description
R <- shl R Shift-left register R
R <- shr R Shift-right register R
R <- cil R Circular Shift-left register R
R <- cir R Circular Shift-right register R
R <- ashl R Arithmetic shift-left R
R <- ashr R Arithmetic shift-right R

Arithmetic shift (sign bit은 shift되지 않는다)

* arithmetic shift-left 시에 overflow 탐지 V(s) = R(n-1) ^ R(n-2) {^=xor} ;

 

Hardware 구현

shift 연산 hardware 구현

산술 논리 쉬프트 유닛(Arithmetic logic Shift Unit)

위의 그림을 잘 이해하려면 Arithmetic Circuit과 Logic Circuit을 보면서 대입해봐야한다.

One stage of Arithmetic Circuit

https://youknow301.tistory.com/105

 

[컴퓨터구조] Arithmetic Microoperations(산술 마이크로연산)

μoperation의 4가지 종류1. register-transfer 2. arithmetic 3. logic 4. shift μoperationsSymbolic designationDescriptionR3

youknow301.tistory.com

One stage of Logic circuit

 

반응형

댓글