WGUIC952IExamI(NewI2024/I2025IUpdate
)IComputerIArchitectureI|IGuideIwithI
QuestionsIandIVerifiedIAnswers|I100%I
Correct|IGradeIA
QUESTION
/0
Answer:
InIC,ItheItwo-letterIsequenceIthatIrepresentsInull
usedItoIcheckIwhetherIcharacterIisItheIlastIcharIinIstring
QUESTION
procedure
Answer:
InIC,IthisImustIrestoreIappropriateIvaluesIbeforeIreturning.
QUESTION
MOVZ
Answer:
zerosItheIrestIofItheIbitsIofItheIregister
usesI16-bitIchunks,IwithILSLIorILSR
,QUESTION
MOVK
Answer:
leavesItheIremainingIbitsIunchanged
usesI16-bitIchunks,IwithILSLIorILSR
QUESTION
ImmediateIAddressingImode
Answer:
theIoperandIisIaIconstantIwithinItheIinstructionIitself
QUESTION
registerIaddressingImode
Answer:
theIoperandIisIaIregister
QUESTION
baseIorIdisplacementIaddressingImode
Answer:
operandIisIatItheImemoryIlocationIwhoseIaddressIisItheIsumIofIaIregisterIandIaIconsta
ntIinItheIinstruction
, QUESTION
PC-relativeIaddressingImode
Answer:
theIbranchIaddressIisI[PCI+IconstantIinIinstruction]
QUESTION
primitives
Answer:
usedItoIsolveIdataIraceIissue
QUESTION
LinkerI(linkIeditor)
Answer:
aIsystemsIprogramIthatIcombinesIindependentlyIassembledIMLIprogramsIandIresolvesI
allIundefinedIlabelsI-->IexecutableIfile
combinesItheI*pre-compiled*IprogramsIcombinesIudefIlabelsI->IexIfile
QUESTION
executableIfile
Answer:
ifIexecutedIafterItheIloader
)IComputerIArchitectureI|IGuideIwithI
QuestionsIandIVerifiedIAnswers|I100%I
Correct|IGradeIA
QUESTION
/0
Answer:
InIC,ItheItwo-letterIsequenceIthatIrepresentsInull
usedItoIcheckIwhetherIcharacterIisItheIlastIcharIinIstring
QUESTION
procedure
Answer:
InIC,IthisImustIrestoreIappropriateIvaluesIbeforeIreturning.
QUESTION
MOVZ
Answer:
zerosItheIrestIofItheIbitsIofItheIregister
usesI16-bitIchunks,IwithILSLIorILSR
,QUESTION
MOVK
Answer:
leavesItheIremainingIbitsIunchanged
usesI16-bitIchunks,IwithILSLIorILSR
QUESTION
ImmediateIAddressingImode
Answer:
theIoperandIisIaIconstantIwithinItheIinstructionIitself
QUESTION
registerIaddressingImode
Answer:
theIoperandIisIaIregister
QUESTION
baseIorIdisplacementIaddressingImode
Answer:
operandIisIatItheImemoryIlocationIwhoseIaddressIisItheIsumIofIaIregisterIandIaIconsta
ntIinItheIinstruction
, QUESTION
PC-relativeIaddressingImode
Answer:
theIbranchIaddressIisI[PCI+IconstantIinIinstruction]
QUESTION
primitives
Answer:
usedItoIsolveIdataIraceIissue
QUESTION
LinkerI(linkIeditor)
Answer:
aIsystemsIprogramIthatIcombinesIindependentlyIassembledIMLIprogramsIandIresolvesI
allIundefinedIlabelsI-->IexecutableIfile
combinesItheI*pre-compiled*IprogramsIcombinesIudefIlabelsI->IexIfile
QUESTION
executableIfile
Answer:
ifIexecutedIafterItheIloader