Save
Upgrade to remove ads
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

CS0003

Computer System and Architecture

QuestionAnswer
It is a division operation that generates two elements - a quotient and a remainder. This instruction is used for unsigned data. DIV
This instruction stores data from register (AL, AX, or EAX) to memory. (basic instructions for processing strings) STOS
Jump if no carry. JNC
When numbers are displayed on screen or entered from keyboard, they are in ASCII form. True
Jump if overflow JO
The ADD/SUB instruction can take place between memory to memory. False
Numerical data is generally represented in binary system. True
The LOOP instruction assumes that ______ register contains the loop count ECX
Jump if no overflow JNO
The XOR operation sets the resultant bit to _____, if and only if the bits from the operands are different. 1
This is the ASCII code for $ 36
It is often used for comparing whether a counter value has reached the number of times a loop needs to be run. CMP
Jump sign is a negative value. JS
This is the ASCII code for G 71
This is the ASCII code for 7 55
The bitwise ____ operation returns 1, if the matching bits from both the operands are 1, otherwise it returns 0. AND
This is one of the basic instructions for processing strings wherein this instruction moves 1 Byte, Word or Doubleword of data from memory location to another. MOVS
The CMP instruction compares five operands. False
This operation reverses the bits in an operand. NOT
In this type of BCD representation, each byte stores the binary equivalent of a decimal digit. unpacked
The OR instruction is used for supporting logical expression by performing bitwise AND operation. False
This instruction is used for decrementing an operand by one DEC
This instruction is used for performing simple addition ADD
This is one of the basic instructions for processing strings wherein it stores data from register (AL, AX, or EAX) to memory. STOS??
This is the ASCII code for E 69
When the loop instruction is executed, the ECX register is incremented and the control jumps to the target label False
This is one of the basic instructions for processing strings wherein this instruction loads from memory. If the operand is of one byte, it is loaded into the AL register, if the operand is one word, it is loaded into the AX register and a doubleword is lo LODS
This instruction for multiplying binary data handles unsigned data MUL
This is the ASCII code for < 60
It is often used for comparing whether a counter value has reached the number of times a loop needs to be run. CMP
The ADD/SUB instruction can take place between register to memory. True
Jump if CX is zero. JXCZ
This is the ASCII code for d 100
It is conditional repeat. It repeats the operation while the zero flag indicates equal/zero. REPE
This is the ASCII code for ? 63
It is also conditional repeat. It repeats the operation while the zero flag indicates not equal/zero. REPNZ
Jump sign is a positive value. JNS
This is an instruction that compares two operands. It is generally used in conditional execution. conditional execution. CMP
These registers mainly helps in referencing the parameter variables passed to a subroutine. pointer
There are six registers that store the arguments of the system call used. True
This addressing mode uses the arithmetic operators to modify an address. Direct Offset Addressing
What are the three sections of an assembly program? bss section text section data section
These registers are used for indexed addressing and sometimes used in addition and subtraction. index
Convert the given decimal numbers to binary. 555 1000101011
It determines left or right direction for moving or comparing string data. Direction Flag
These are APIs for the interface between the user space and the kernel space. System calls
Assembly language statements are entered one statement per line. True
This section is used for declaring variables bss section
Convert the given binary numbers hexadecimal. 111011101 1DD
Convert the following hexadecimal numbers to binary. 4FB2 100111110110010
Convert the given binary numbers to hexadecimal 11111000 F8
It shows the sign of the result of an arithmetic operation. Sign Flag
It indicates the result of an arithmetic or comparison operation. Zero Flag
This directive is used for allocation of storage space. It can be used to reserve as well as initialize one or more bytes Define Assembler
It indicates the total number of 1-bits in the result obtained from an arithmetic operation. Parity Flag
In this addressing mode, the offset value is specified directly as part of the instruction, usually indicated by the variable name. Direct Memory Addressing
It determines left or right direction for moving or comparing string data. Direction Flag
This section is used for declaring initialized data or constants. data section
The directive allows redifinition %assign
This instruction is used for moving data from one storage space to another MOV
In this addressing mode, an immediate operand has a constant value or an expression. Immediate Addressing
Convert the given decimal numbers to hexadecimal. 642 282
n direct memory addressing, one of the operands refers to a memory location and the other operand references a register. True
Both the operands in MOV operation should be of same size. True
Convert the given binary numbers hexadecimal. 10101010111 557
When an instruction requires two operands, the second operand is generally the destination, which contains data in a register or memory location and the first operand is the source. False
It contains all the instructions to be executed. A 16-bit Code Segment register or CS register stores the starting address of the code segment. Code Segment
It is represented by .data section and the .bss. Data segment
It tells the processor what to do Executable instructions
It is represented by .text section. This defines an area in memory that stores the instruction codes. Code segment
It tell the assembler about the various aspects of the assembly process. assembler directives
This refers to the process through which the processor controls the execution of instructions. fetch-decode-execute cycle
It allows setting the operation of the processor in single-step mode. Trap flag
It specifies the location for a subsequent read/write operation in the file in terms of bytes. File pointer
The procedure is called from another function by using the ____ instruction. CALL
It is an array-like data structure in the memory in which data can be stored and removed from a location stack
Only words or doublewords could be saved into the stack, not a byte. True
It is a 16-bit integer assigned to a file as a file id. file descriptor
In this type of recursion, the first procedure calls a second procedure, which in turn calls the first procedure Indirect
In this type of recursion, the procedure calls itself Direct
The ________ system call is provided by the kernel, to allocate memory without the need of moving it later. sys_brk()
Which of the following is not a standard file stream? > stdprint > stdin > stderr > stdout stdprint
It is a sequence of instructions, assigned by a name and could be used anywhere in the program. macro
The called procedure returns the control to the calling procedure by using the ______ instruction. RET
The macro begins with the %endmacro directive and ends with the %macro directive. False
Which of the following is not an instruction for stack operations > POP > none of the above > PUSH None of the above
In this addressing mode, a register contains the operand. Register Addressing
These are basically a text substitution mechanism. Macros
Assembly language comment begins with a __________. semicolon
It contains the carry from bit 3 to bit 4 following an arithmetic operation Auxiliary Flag
This directive is used for defining constants. EQU
It disables the external interrupt when the value is 0 and enables interrupts when set to 1. Interrupt Flag
To speed up the processor operations, the processor includes some external memory storage locations, called registers. False
It indicates the overflow of a high-order bit (leftmost bit) of data after a signed arithmetic operation. Overflow Flag
These registers are used for arithmetic, logical, and other operations. data registers
this section is used for keeping the actual codeWhich of the following text section
Which of the following is not part of a basic instruction? Macros
These store data elements for processing without having to access the memory. Registers
This directive allows defining both numeric and string constants. %define
It divides the system memory into groups of independent segments referenced by pointers located in the segment registers. segmented memory model
It allows setting the operation of the processor in single-step mode. Trap flag
This is the fundamental unit of computer storage. bit
It is used along with the conditional jump instruction for decision making CMP
It is the unconditional repeat. It repeats the operation until CX is zero REP
The CMP instruction compares five operands. False
This is one of the basic instructions for processing strings wherein this instruction loads from memory. If the operand is of one byte, it is loaded into the AL register, LODS
This instruction works same as the AND operation, but unlike AND instruction, it does not change the first operand TEST
We can store the string length explicitly by using the ___?___ location counter symbol that represents the current value of the location counter $
If you want to check whether a given number is odd or even, a simple test would be to check the least significant bit of the number. If this is 1, the number is odd, else the number is _______. EVEN
Which of the following is not a basic instruction for processing strings. STOP
In this type of BCD representation, there is no support for multiplication and division. packed
This is an instruction that provides a label name where the flow of control is transferred immediately JMP
Alternatively, you can store strings with a trailing sentinel character to delimit a string instead of storing the string length explicitly True
This instruction for multiplying binary data handles signed data IMUL
This conditional instruction transfer the control by breaking the sequential flow and they do it by changing the offset value in IP. Conditional Jump
Procedures are identified by a name. True
Is a very fast computer memory, used to store data/instruction in-execution Register
Is a group of flip-flops with each flip-flop capable of storing one bit of information. Register
Is a circuit that has two stable states and can be used to store state inforation Flip-flop
Consists of a group of lip-flops and gates. Register
Holds the binary information and gates control when and how new information is transferred into a register. Flip-flop
Refers to the transfer of new information into a register. Loading the register
Is the symbolic notation used to describe the micro-operation transfers amongst registers Register transfer language
Refers to the means of availability of hardware logic circuits that can perform a stated micro-operation and transfer the results of the operation to the same or another register. Register transfer
Is the most common register, used to store data taken out from the memory. Accumulator
Is used to store data intermediate results during program execution. It can be accessed via assembly programming. General Purpose Registers
Users do not access these registers. Special Purpose Registers
Information transferred from one register to another is designated in symbolic form by means of ________ replacement operator.
Is a Boolean variable that is equal to 1 or 0 Control Function
Is terminated with a colon Control Condition
The operations executed on data stored in registers. Micro-operations
Is an elementary operation performed on the information stored in one or or more registers. Micro-operations
Is a type of micro-operations that transfers binary information from one register to another Register transfer
Is a type of micro-operations that performs arithmetic operations on numeric data stored in registers. Arithmetic micro-operations
Type of micro-operations that perform bit manipulation operation on non-numeric data stored in registers. Logic micro-operations
Type of micro-operation that perform shift micro-operations performed on data Shift micro-operations
Type of micro-operation that is performed by adding 1 to the register. Increment
Type of micro-operation that is performed by subtracting 1 from register. Decrement
Are binary micro-operations performed on the bits stored in the registers. Logic Micro-Operations
Are operations that consider reach bit separately and treat them as binary variables. Logic Micro-Operations
Used for serial transfer of data Shift Micro-Operations
Transfers 0 through the serial input Logical Shift
The symbol that is used for logical shift left. "shl"
The symbol that is used for logical shift right. "shr"
Circulates or rotates the bits of register around the two ends without any loss of data or contents. Circular Shift
Shifts a signed binary number to left or right Arithmetic Shift
Leaves the sign unchanged because the signed number remains same when it is multiplies or divided by 2. Arithmetic Shift
All the logical and mathematical operations are performed here. ALU
Is a combinational circuit that has no internal storage. ALU
To fetch a word from main memory, the processor has to specify the address of the memory location where it is stored and request a _______. Read operation.
When fetching a word from memory, the processor uses the control lines of the bus to indicate that a ______ operation is needed. Read
When registered data are received from the memory they are stored in register ______, from where they can be transferred to other registers in the processor. MDR
Is the main and on of the most important unit inside CPU of computer. ALU
An _______ multiplies a signed binary number by 2 and sift left divides the number by 2. Arithmetic shift left
In ________ micro-operation, instead of using minus operator we take 1's compliment and 1 to the register which gets substracted. Subtract
Is an elementary operation performed on the information stored in one or more registers. Micro-operation
To enable data transfers between various blocks in a common data bus, ______ and _____ gating must be provided Input and output
The _____ and ______ gates for register RI are controlled by the signals Riin and Riout. Input and output
General Purpose Registers can be accessed via _________. assembly programming.
_________ are for Computer System. Special Purpose Registers.
End of the procedure is indicated by a _______ statement. return
Created by: AdoKwatro
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards