wiz-icon
MyQuestionIcon
MyQuestionIcon
5
You visited us 5 times! Enjoying our articles? Unlock Full Access!
Question

Which one of the following instructions will never affect the zero flag?

A
DCR reg
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
ORA reg
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
DC x rp
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
XRA reg
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C DC x rp

DC x rp instructions will never affect the zero flag.

The zero flag is a single bit flag that is a central feature on most conventional CPU architectures. It is often stored in a dedicated register, typically called status register or flag register, along with other flags.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Computers in Accounting
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon