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.

different between IORLW and XORLW

Status
Not open for further replies.

PA3040

Advanced Member level 3
Joined
Aug 1, 2011
Messages
883
Helped
43
Reputation
88
Reaction score
43
Trophy points
1,308
Activity points
6,936
Dear All
I need verify a small thing which is

different between IORLW and XORLW

Code:
XOR

T   T  =  F
T   F  =  T
F   T  =  T
F   F  =  F

Code:
IOR
T   T  =  T
T   F  =  T
F   T  =  T
F   F  =  F

Code:
as well as OR  result = IOR result

OR
T   T  =  T
T   F  =  T
F   T  =  T
F   F  =  F

I know that OR is logical as well as IOR bitwise ( I think)
That mean, Can we relapse OR instance IOR
please advice
 

You mean " Difference between IORLW and OR "

It's the same.

If you view the instruction set,you'll note that there is only "IOR",there isn't "ORLW" instruction
IORLW
The contents of the W register are
OR’ed with the eight-bit literal ‘k’.
The result is placed in the W
register.

regards!
 
  • Like
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
You mean " Difference between IORLW and OR "

It's the same.

If you view the instruction set,you'll note that there is only "IOR",there isn't "ORLW" instruction
IORLW


regards!

Yes I need it
I got it thank for reply
May I leant, why they use IOR instant OR any reason
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top