Advertisement
theinhumaneme

LogicalOperations.c

Oct 26th, 2022
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | Software | 0 0
  1. #include<LPC214X.h>
  2. int main(){
  3. --asm{
  4. MOV R0,#0x00000005
  5. MOV R1,#0x00000003
  6. MOV R2,#0x40000000
  7. AND R3,R0,R1
  8. STR R3,[R2],#4
  9. ORR R3,R0,R1
  10. STR R3,[R2],#4
  11. EOR R3,R0,R1
  12. STR R3,[R2]
  13. }
  14. }
Tags: ARM7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement