Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 550

This is a programming language that is at a low level that corresponds with the instruction set of the machine being programmed.

5 votes
2 answers
867 views

What's the most effective way to save/restore a PIC status bit

I want to save/restore the PIC's carry bit. I'm using the 16F628A. SAVE_CARRY btfss STATUS, 0 goto CARRY_OFF CARRY_ON bsf carry, 0 return CARRY_OFF bcf carry, 0 return RESTO …
mmccoo's user avatar
  • 951
3 votes
2 answers
4k views

How do I do indirect addressing in PIC ASM?

On my 16F628A's I want to iterate of a predefined sequence of values. How do I do this? In C, I would do something like this: char vals = {22, 10, 34, 16}; char id = 0; port = vals[id]; id++ It's …
mmccoo's user avatar
  • 951