컴퓨터구조 문제풀이
- 최초 등록일
- 2006.09.21
- 최종 저작일
- 2002.08
- 3페이지/
한컴오피스
- 가격 1,000원
![할인쿠폰받기](/images/v4/document/ico_det_coupon.gif)
소개글
컴퓨터 구조 관련 문제풀이입니다.
목차
없음
본문내용
1. PC-relative mode branch instruction이 기억장치 주소 620(10진수)에 저장되어 있다. 분기의 목적주소는 530(10진수)이다. 명령어의 표현에 있어 주소에 10 bits가 할당된다. 명령어 안에 표현된 주소의 2진수 값을 다음 순서에 따라 구하시오.
(1) 프로그램 카운터와 분기목적 주소까지의 거리 (10진수):
분기 목적 주소가 530(10), PC가 622을 저장하고 있으므로
분기 목적 주소까지의 거리: 622 + x = 530 ------- ㉠
x = -92 ------------ ㉡
∴|x| = 92
(2) 2진수 표현: 92 ===========> 00 0101 1100 ===========> 11 1010 0100
(2진 표현) (2의 보수)
2. 다음 글을 읽고 질문에 답하시오.
One of the simplest instruction designs for a general-purpose computer was for the PDP-8. The PDP-8 uses 12-bit instructions and operates on 12-bit words. There is a single general-purpose register, the accumulator.
Despite of the limitation of the this design, the addressing is quite flexible. Each memory reference consists of 7-bits plus two 1-bit modifiers.
참고 자료
없음