Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

8 Solved Questions on Binary and Decimal Numbers - Exam 1 | ECEN 3213, Exams of Electrical and Electronics Engineering

Material Type: Exam; Professor: Johnson; Subject: Electrical and Computer Engineering ; University: Oklahoma State University - Stillwater; Term: Spring 2004;

Typology: Exams

2010/2011

Uploaded on 07/18/2011

koofers-user-dna
koofers-user-dna 🇺🇸

10 documents

1 / 3

Toggle sidebar

Related documents


Partial preview of the text

Download 8 Solved Questions on Binary and Decimal Numbers - Exam 1 | ECEN 3213 and more Exams Electrical and Electronics Engineering in PDF only on Docsity! @ ECEN 6253 Advanced Digital Computer Design @ ECEN 3213 Spring ‘04 Exam 1 WRITE YOUR NAME HERE Ans wer All questions must be answered on test paper! Open Beok, Open Notes 1, (50 pts) Write 6811 assembly code for the following pseudo-code. If reset occurs, the program should start at “start”. start: XX = 100; { loop: if (XX = 0) XX = 100; i else | XX=XX-1; , ; goto loop; Unagal Lda XX tle org ooor Sua # | | xX ds | Spa for XX Sta xX RN Cone org FDooe - bra loop “ee Start ibe Pivd XX 2/0 ara $ FEF E sta XX dw stort oop Lag XX ; bre unegarl Tf &=¥) [ha #lve Sta XX mate bra dow ECEN 3213 Spring ‘04 Exam 1 February 25, 2004 page 1 of3 @ ECEN @€253 Advanced Digital Computer Design & 2. (7 pts) Convert the given numbers from unsigned binary to decimal. alli= | p.o1olio= 2 3. (7 pts) Convert the given numbers from decimal to unsigned binary. a37= {oo {p | b.25= [loo | 4. (7 pts) Convert the given numbers from &-bit signed binary to signed decimal. aoololilo= 32+ F44+2 2 4h b.1ll0= - Bwvieeyo = -fétz2\o—1¢ 5. (7 pts) Convert the given numbers from signed decimal to 8-bit signed binary. a37= oolooro | &37= tlollo iy (25 comp { para) 6. (7 pts) Convert the given numbers from binary to hexadecimal. aldll= §& b.1o1l0011= BS 7. (7 pts) Convert the given numbers from hexadecimal to binary. aAl= {Olu 000 | bTFAL= OIL ETI OLO ave | % ECEN 3213 Spring ‘04 Exam 1 February 25, 2004 page 2 of 3
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved