logo

Crowdly

Sistemas Computacionais (2024/25)

Looking for Sistemas Computacionais (2024/25) test answers and solutions? Browse our comprehensive collection of verified answers for Sistemas Computacionais (2024/25) at moodle.utad.pt.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Em termos gerais um shift left:

0%
0%
0%
0%
0%
View this question

Considerando o código seguinte e caso coloque o valor 10 no registo R1 (VALOR), qual o valor final dos registos R0 e R1?

MOV R1, #VALOR

MOV R0, #0

CICLO ADD R0, R0, #2

SUB R1, R1, #1

CMP R1, R2

BEQ CICLO

FIM END

0%
0%
0%
0%
0%
View this question

Considerando o código seguinte e caso coloque o valor 10 no registo R1 (VALOR), qual o valor final do registo R0?

MOV R1, #VALOR

MOV R2, #5

CMP R1, R2

BNE SALTO

MOV R0, #0

B FIM

SALTO MOV R0, #1

FIM END

0%
0%
0%
0%
0%
View this question

Considerando o código seguinte e caso coloque o valor 5 no registo R1 (VALOR), qual o valor final do registo R0?

MOV R1, #VALOR

MOV R2, #5

CMP R1, R2

BNE SALTO

MOV R0, #0

B FIM

SALTO MOV R0, #1

FIM END

0%
0%
0%
100%
0%
View this question

A instrução seguinte salta (branch) para o local SALTO sempre que o resultado da operação anterior (última instrução), que altera as flags:

BEQ SALTO
0%
0%
0%
0%
0%
View this question

A instrução seguinte salta (branch) para o local SALTO sempre que o resultado da operação anterior (última instrução), que altera as flags:

BPL SALTO
100%
0%
0%
0%
0%
View this question

LDR permite:

0%
0%
0%
0%
0%
View this question

As instruções na arquitetura ARMv7 são:

0%
0%
0%
100%
0%
View this question

EQU é:

0%
0%
0%
0%
0%
View this question

No contexto do assembly, um símbolo é:

100%
0%
0%
0%
0%
View this question

Want instant access to all verified answers on moodle.utad.pt?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!