Hi Everyone,
Newbie type question: Yeah I know I should already know this, do the following code snippets have the same meaning?
intcon.7 = 1
intcon = %10000000
intcon = 128
I think so but I am unsure of the 1st snippet.
Thank You
JS
Hi Everyone,
Newbie type question: Yeah I know I should already know this, do the following code snippets have the same meaning?
intcon.7 = 1
intcon = %10000000
intcon = 128
I think so but I am unsure of the 1st snippet.
Thank You
JS
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Yes and no,
the last 2 yes do the same thing but the first one ONLY affect bit 7 and don't care about the other ones. Depending what you REALLY need to do, the first may have it's own advantage.
Same thing when you compare
PORTB=128
PORTB=$80
PORTB.7=1
HIGH PORTB.1
Last edited by mister_e; - 26th September 2007 at 01:29.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks