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

Stack #4545821

CSA 1st Formative

QuestionAnswer
What is the purpose of the TIMES directive? To initialize multiple values
Which directive defines a byte in assembly? db - BYTE
Which directive defines a string constant? db
Which addressing mode is fastest? Register
Which directive defines a table of data? DB (used to create tables of data, strings, or arrays.)
What is the default byte ordering used by the processor? Little-endian
Which register holds the file descriptor for standard output (stdout)? EBX (file descriptor)
What is the role of the EDX register in a SYS_WRITE system call? It specifies the length of the data to write (EDX)
Which instruction affects the Carry Flag (CF)? ADD (Overflow so there's CF)
Which system call number is used for writing to the console in Linux? 4 (System Write)
Which addressing mode uses Segment:Offset? Indirect
Which system call number is used for reading input in Linux assembly? 3
What is the purpose of the equ directive? To define a constant
Where is the multiplicand located during a MUL operation? In an accumulator
Which instruction sets one or more bits without changing others? OR (Sets to 1)
What is the purpose of the DS register? hold the segment address of the data segment
What happens if overflow occurs during a DIV operation? Processor generates an interrupt
What type of operations are NOT possible with ADD SUB instructions?
What is the size of a quad word? 64 bits
Which addressing mode uses registers? Register
What is immediate addressing? Operand is a constant
What does the section.data directive define in an assembly program? The initialized data section
This section is used for keeping the actual code. text section
It indicates the result of an arithmetic or comparison operation. Zero Flag
These are basically a text substitution mechanism macros
This addressing mode uses the arithmetic operators to modify an address. direct offset addressing (Direct Adressing)
It indicates the overflow of a high-order bit (leftmost bit) of data after a signed arithmetic operation. overflow flag
It contains the carry from bit 3 to bit 4 following an arithmetic operation. auxiliary flag (Also known as Adjust Flag)
ASCII of $ 24H
ASCII of A 41H
ASCII of n
ASCII of space 20H
41H - 5AH A-Z
61H - 7AH a-z
This directive is used for allocation of storage space. It can be used to reserve as well as initialize one or more bytes Reserve Directives (Reserve only)
It determines left or right direction for moving or comparing string data. Direction Flag
Both the operands in MOV operation should be of same size. True
It tells the processor what to do. Executable Instructions (Executes)
It allows setting the operation of the processor in single-step mode. Trap flag (Debugging)
Which of the following is not a part of a basic instructions Macros
This addressing mode uses the arithmetic operators to modify an address. Direct Offset Addressing (+ -)
It is represented by .data section and the .bss. data segment
These store data elements for processing without having to access the memory. Registers (directly built in the processors)
In this addressing mode, an immediate operand has a constant value or an expression. Immediate Addressing
Which of the following is not a type specifier? all of the above
In direct memory addressing, one of the operands refers to a memory location and the other operand references a register. True
These registers are used for indexed addressing and sometimes used in addition and subtraction. Index
In this addressing mode, the offset value is specified directly as part of the instruction, usually indicated by the variable name. True
These registers mainly helps in referencing the parameter variables passed to a subroutine. pointer
These registers mainly helps in referencing the parameter variables passed to a subroutine. Pointer
In this addressing mode, a register contains the operand. Register Addressing
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 contains the carry of 0 or 1 from a high-order bit (leftmost) after an arithmetic operation. Carry Flag
It shows the sign of the result of an arithmetic operation. Sign Flag
It divides the system memory into groups of independent segments referenced by pointers located in the segment registers. segmented memory model
These are APIs for the interface between the user space and the kernel space. System calls
It is represented by .text section. This defines an area in memory that stores the instruction codes. code segment
Created by: user-1922835
 

 



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