Hello.
I have been working on a project where I had to write a code in assembly which in c++ looked like: if(a && b && c) and couldn't solve it. can any 1 help me how to write a code in assemly for triple AND without using 3 level of stack and a lot of code of course
To understand the code above you need to learn what the assembly instructions do. Study one of the tutorials in this thread to get a better understanding.
They aren't 'tricks' they are just standard useage of the instructions - there are only a small number of instructions to learn, which is why PIC assembler is so easy for beginners.
It's all logic You can learn a lot reading mplab mpasm help files. You just got to think like a pic. How can i do that with a 0 or 1 And Mike and Nigel are both real smart cats I would just like to no half what they Know. I learned a lot from both of them.
I'm getting ready to learn a bunch more I start college January 10 full time first thing I have to learn is how to write. They said I was horrible. I thought that was funny I know I'm not a good writer. But I scored some what good seeing not all classes are refreshers. And one is for my college major I get to do some programing my fist year even if it will be C++
zhaniko93 maybe we both learn some English this year and be great writers Ps. I hope you like the pickit2 clone you'll have about January 10th. Good luck with your coding. Oh read about logic chips and how they work and asm will be easier to get a grasp of.