GATE Assistant

Past questions › Electrical Engineering › GATE 2023

GATE 2023 · EE · NAT · 2 marks · Analog & Digital Electronics › Combinational Logic

GATE 2023 Electrical Engineering question: In a given 8-bit general purpose micro-controller there are following flags. C-Carry,…

In a given 8-bit general purpose micro-controller there are following flags.

C-Carry, A-Auxiliary Carry, O-Overflow flag, P-Parity (0 for even, 1 for odd)

R0 and R1 are the two general purpose registers of the micro-controller.

After execution of the following instructions, the decimal equivalent of the binary sequence of the flag pattern [CAOP] will be __________.

MOV R0, +0x60

MOV R1, +0x46

ADD R0, R1

Show answer

Official answer: 2

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion