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

Assembly Chapter 4 | CS - Software Engineering, Quizzes of Software Engineering

Class: CS - Software Engineering; Subject: Computer Science; University: Avila University; Term: Forever 1989;

Typology: Quizzes

2012/2013

Uploaded on 05/06/2013

jmo1012
jmo1012 🇺🇸

12 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
TERM 1
What does intmul
do?
DEFINITION 1
multiply two valuesit does not mulitply 8-bit operands
TERM 2
What does bound
do?
DEFINITION 2
it checks a 16/32 bit to see if it is between 2 values. If it is
outside the range, an exception is raised, and it
aborts.bound(register 16/32, lower number to check, upper
number)bound(register 16/32, mem16/32[2/4]
TERM 3
what does the into statement
do?
DEFINITION 3
checks to see if the overflow flag is set. Usually ran after
arithmetic operation. if the overflow flag is set, an intoInstr
exception is thrown.into();
TERM 4
what does the const decloration
do?
DEFINITION 4
lets you declare identifiers whose values is constant
throughout compilation and runtime.
TERM 5
what does the val section
do?
DEFINITION 5
lets you declare symbolic constants whose values can
change at compile time, but whose values are constant at
runtime.(the same name can have a different value at
several points in the source code, but the value of val
symbol at a given point cannot change while it is running.)
pf2

Partial preview of the text

Download Assembly Chapter 4 | CS - Software Engineering and more Quizzes Software Engineering in PDF only on Docsity!

TERM 1

What does intmul

do?

DEFINITION 1 multiply two valuesit does not mulitply 8-bit operands TERM 2

What does bound

do?

DEFINITION 2 it checks a 16/32 bit to see if it is between 2 values. If it is outside the range, an exception is raised, and it aborts.bound(register 16/32, lower number to check, upper number)bound(register 16/32, mem16/32[2/4] TERM 3

what does the into statement

do?

DEFINITION 3 checks to see if the overflow flag is set. Usually ran after arithmetic operation. if the overflow flag is set, an intoInstr exception is thrown.into(); TERM 4

what does the const decloration

do?

DEFINITION 4 lets you declare identifiers whose values is constant throughout compilation and runtime. TERM 5

what does the val section

do?

DEFINITION 5 lets you declare symbolic constants whose values can change at compile time, but whose values are constant at runtime.(the same name can have a different value at several points in the source code, but the value of val symbol at a given point cannot change while it is running.)

TERM 6

How do you use a single quotes while inside a

string constant?

DEFINITION 6 You use two quotes!"He wrote a ""Hello World"" program" TERM 7

How can you specify character constants?

DEFINITION 7 #integer_constant#13 / #$d / #% TERM 8

which is legal: mov("STRING",al);

mov("TEXT", al);

DEFINITION 8 mov(text, al) is legalyou cannot move a string literal constant into the AL register TERM 9

What does enum

do?

DEFINITION 9 lets you associate a list of names with a new type