Answer the following short questions briefly. Convert the following decimal integers into binary, octal, and hexadecimal: (a) 23, (b) 107, (c) 1238 (d) 92 (e) 173 Convert the following BCD numbers (assume that these are packed numbers) to decimal numbers: (a) 10001001, (b) 00001001 (c) 00110010, (d) 00000001 Convert the following decimal numbers into both packed and unpacked BCD forms: (a) 102, (b) 44 (c) 301, (d) 1000
Answer the following short questions briefly. Convert the following decimal integers into binary, octal, and hexadecimal: (a) 23, (b) 107, (c) 1238 (d) 92 (e) 173 Convert the following BCD numbers (assume that these are packed numbers) to decimal numbers: (a) 10001001, (b) 00001001 (c) 00110010, (d) 00000001 Convert the following decimal numbers into both packed and unpacked BCD forms: (a) 102, (b) 44 (c) 301, (d) 1000
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Answer the following short questions briefly.
- Convert the following decimal integers into binary, octal, and hexadecimal:
(a) 23, (b) 107, (c) 1238 (d) 92 (e) 173 - Convert the following BCD numbers (assume that these are packed numbers) to decimal numbers:
(a) 10001001, (b) 00001001
(c) 00110010, (d) 00000001 - Convert the following decimal numbers into both packed and unpacked BCD forms:
(a) 102, (b) 44
(c) 301, (d) 1000 - Convert the following decimal numbers into 8-bit signed binary numbers:
(a) +32, (b) -12 (c) +100 - Convert the following binary numbers to the two’s complement form:
(a) 1000 0001, (b) 1010 1100
(c) 1010 1111, (d) 1000 0000 - Find the memory address of the next instruction executed by the microprocessor, when operated in the real mode, for the following CS:IP combinations:
(a) CS = 1A00H and IP = B000H
(b) CS = 2300H and IP = 1A00H
(c) CS = 2000H and IP = 1000H
(d) CS = 1000H and IP = 2000H - Will an overflow occur if a signed FFH is added to a signed 01H?
- A number that contains 3 one bits is said to have _________ parity.
- What do the following MOV instructions accomplish?
(a) MOV AX,BX, (b) MOV BX,AX
(c) MOV BL,CH, (d) MOV ESP,EBP
(e) MOV RAX,RCX - Write an instruction for each of the following tasks:
(a) move 12H into AL, (b) move 123AH into AX
(c) move 0CDH into CL (d) move 1000H into RAX
(e) move 1200A2H into EBX - Suppose that DS = 0200H, BX = 0300H, and DI = 400H. Determine the memory address accessed by each of the following instructions, assuming real mode operation:
(a) MOV AL,[1234H] (b) MOV EAX,[BX]
(c) MOV [DI],AL - What is wrong with a MOV CS, AX instruction?
- Describe the operation of each of the following instructions:
(a) PUSH AX (b) POP SI
(c) PUSH [BX] (d) PUSHFD
(e) POP DS - What is wrong with the ADD ECX,AX instruction?
- If AX = 1001H and DX = 20FFH , list the sum and the contents of each flag register bit (C, A, S, Z, and O) after the ADD AX,DX instruction executes.
- Develop a short sequence of instructions that adds AL, BL, CL, DL, and AH. Save the sum in the DH register.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education