Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to set the second bit of the register in this setting?

Status
Not open for further replies.

flycracker

Newbie level 4
Joined
Dec 10, 2006
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,303
a question in iterview
A Small coupter has 8-bit CPU and only one register,XOR is only assebly command it understands.How to set the second bit of the register?the initial state of the register is unknow.
 

Re: HELP!!

reg⊕$00>reg
reg⊕$02>reg
result : xxxxxx1x

reg⊕$FF>reg
reg⊕$FD>reg
result : xxxxxx1x

If one of two men, one always speaks truth and other always lies, how would you get right answer if you don't know which one is which?

https://en.wikipedia.org/wiki/XOR

:D
 

HELP!!

reg⊕$00>reg
what does it mean??
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top