0% found this document useful (0 votes)
199 views3 pages

CPE103 Finals Reviewer

The document contains a crossword puzzle with assembly language terms and concepts. It includes 20 clues to identify terms like "machine language", "interrupt descriptor table", and "assembler directives". It also includes matching questions to pair assembly instructions with their uses, as well as examples of directives, instruction types, and hand coded assembly instructions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
199 views3 pages

CPE103 Finals Reviewer

The document contains a crossword puzzle with assembly language terms and concepts. It includes 20 clues to identify terms like "machine language", "interrupt descriptor table", and "assembler directives". It also includes matching questions to pair assembly instructions with their uses, as well as examples of directives, instruction types, and hand coded assembly instructions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

OT 1

Crossword Puzzle

1. It is designed to create the required data and perform all appropriate memory allocation and data formatting for
little endian. ASSEMBLER DIRECTIVES
2. It indicates that it is a register to register transfer. MOD 11
3. In protected mode, a/an ________ that uses 8-byte descriptors to describe each of the interrupts replaces the
vector table. INTERRUPT DESCRIPTOR TABLE
4. It allows the programmer to choose where the processor fetches its next instruction form. PROGRAM
TRANSFER
5. Any action done to the computer is considered as _______. INTERRUPT
6. In division, what register stores the quotient? ACCUMULATOR
7. It is the language only understood by the computer. MACHINE LANGUAGE
8. What mod will direct addressing mode will be possible? MOD 00
9. A directive that indicates the start of the procedure. PROC
10. An example of this interrupt is when you divide a number by zero. INTERNAL SOFTWARE INTERRUPT
11. It indicates that only 1 data segment is used with 1 code segment for a total of 128 KB of memory. SMALL
12. An instruction that retains the sign of the register. SHIFT ARITHMETIC RIGHT
13. Which register is not literally removed from the stack after a POPA instruction? STACK POINTER
14. An interrupt that always causes an interrupt sequence when it is activated. NON-MASKABLE INTERRUPT
15. A directive that tells the assembler what names have been chosen for the code, data, extra and stack segment.
ASSUME
16. These are set of opcodes or hex codes to perform a specific task. PROGRAM
17. It is a collection of bytes, words, long words that can be up to 64 KB in length. STRING
18. It is used to change a specific bit within the flag register and to externally synchronize the processor.
PROCESSOR CONTROL
19. Which part of the machine code indicates the instruction? OPCODE
20. It is an instruction to set an output string device. OUTS

OT 2

Crossword Puzzle

1. A type of interrupt that cannot be ignored by the CPU. NON-MASKABLE INTERRUPT


2. An instruction type wherein it is a collection of bytes, words, or long-words that can be up to 64 KB in length.
STRING
3. It is designed to create the required data and perform all appropriate memory allocation and data formatting for
little endian. ASSEMBLER DIRECTIVES
4. What is the opcode for signed divide instruction? IDIV
5. A register that POPA will not remove. STACK POINTER
6. It is a language that the computer only understands. MACHINE LANGUAGE
7. An instruction that illustrates divisible by 2. SHIFT LOGICAL RIGHT
8. An instruction that is commonly used with conditional jump or call. COMPARE
9. An interrupt used in assembly language. INTERNAL SOFTWARE INTERRUPT
10. An English-like language that is used to easily remember instructions. MNEMONIC
11. A table that uses 8-byte descriptors to describe each of the interrupts replaces the vector table. INTERRUPT
DESCRIPTOR TABLE
12. It temporarily suspends execution of the main program. INTERRUPT
13. It is used to perform Boolean operations on binary data. LOGICAL Instructions
14. An instruction that is used to transfer data with consideration to its signed values. MOVSX
15. A directive that indicates which registers are used by the procedure, so that the assembler can automatically
save them before your procedure beings and restore them before the procedure ends with the RET instruction.
USES
16. A directive that changes the starting offset address of the data in the data segment to any location. ORG (origin)
17. A mode in machine coding that is used for register to register transfer. MOD 11
18. A mode in machine coding that is used in direct addressing mode. MOD 00

Matching Type

1. Proceeds to the label if the result of CMP is zero – JE ODD (Jump if equal/zero)
2. Divisible by 2 – SHR AL, 01H
3. Performs multiple signed values – IMUL BX
4. Used in LOOP – DEC DX (decrement)
5. Performs one’s complement – NOT DX
6. Similar to a ring counter – RCR BL, CL (Rotate through carry right)
7. Accepts string data – INS 80H, DX (input from string)
8. Appends zero to the register – MOVZX ECX, CX
9. Writes 32-bit register to stack – PUSHDW EBX (push double-word)
10. Clears a register – XOR AX, AX
11. Transfers negative numbers – MOVSX ECX, CX
12. Checks if equal – CMP SP, DX
13. Display a string output – OUTS DX, 80H
14. Multiplies negative numbers – IMUL BX
15. Performs two’s complement – NEG DX
16. Removes all contents of stack – POPA
17. Powers of 2 – DAL, 05H
18. Used as counter – INC AL
19. Used in conjunction with JNZ, JNE – CMP SP, DX
20. Divides signed numbers – IDIV BX
21. Reserves space in the memory – MOVSX ECX, CX

Enumeration

Types of Interrupts

1. External Hardware Interrupt


2. Software Internal Interrupt

Example of Directives

1. Define Byte (DB)


2. Define Word (DW)
3. ENDS
4. SEGMENT

Instruction Types

1. Data Transfer Instruction


2. Arithmetic Instruction
3. Logical Instruction
4. Bit Manipulation Instruction
5. String Instructions
6. Program Transfer Instructions
7. Processor Control Instructions

Hand coding

1. SAR [FCDA], 07H

NOTE: C0 – SAR r/m8, imm8

1100 0000 0010 1110 1101 1010 1111 1100 0000 0111
C0 2E DA FC 07

2. POP CS (?) – INVALID INSTRUCTION

0000 1111 1011 1111 1001 0001 1011 1010 1101 0101
0F BF 91 BA D5

3. MOV [BP + CBEDH], C9FDH

1100 0111 1000 0110 1110 1101 1100 1011 1111 1101 1100 1001
C7 86 ED CB FD C9

4. SUB [8CBEH], AEFDH

1000 0001 0011 1110 1011 1110 1000 1100 1111 1101 1010 1110
81 3E BE 8C FD AE

5. DIV [BP+DI+7EFDH]

1111 0111 1011 1011 1111 1101 0111 1110


F7 BB FD 7E

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy