Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.

Tutorial (4): Arithmetic Instructions in PIC microcontrollers
10 months ago
80
Technology
Software & Development
pic
microcontroller
microprocessor
microchip
p16f84a
assmbly
arithmetic
instruction
add
The tutorial presents the following:
- ADDLW k : adds literal and w (w = w+k)
- ADDWF f,d: adds w and f (w= w+f) or (f= w+f)
- INCF f : increment f (f=f+1)
- SUBLW k: subtracts w from literal (w= k-w)
- SUBWF f,d: subtracts w from f (w=f-w) or (f=f-w)
- DECF f: decrement f (f=f-1)
Status register bits Zero, Carry and Digit Carry respond to certain arithmetic instructions.
The Subtract instructions follow a similar pattern to the Add
The Carry bit now, however, acts as a Borrow.
If a subtract occurs and the result is positive, then the Carry bit is ‘set’. If the result is negative, then the Carry bit is ‘clear’
Define two constant and apply the arithmetic operations between them.
Loading 1 comment...
-
1:44:38
Dear America
2 hours agoTrump Vs Big Pharma!! The Autism Epidemic Must End… + Jimmy Kimmel Is back?!
102K38 -
LIVE
Badlands Media
9 hours agoBadlands Daily: September 23, 2025
3,316 watching -
LIVE
MattMorseTV
2 hours ago $1.83 earned🔴Trump's United Nations BOMBSHELL.🔴
977 watching -
LIVE
Matt Kohrs
12 hours agoThe Powell Pump (CRWV, NVDA, ORCL, TSLA & More) || Live Trading Futures & Options
545 watching -
LIVE
Wendy Bell Radio
6 hours agoDisney's Delicious Catch 22
7,182 watching -
16:49
Clickbait Wasteland
11 hours ago $0.18 earnedThe Next Republican Mayor of NYC? An Interview with Curtis Sliwa
3.75K3 -
12:15
Mrgunsngear
13 hours ago $4.26 earnedCharlie Kirk Had No Exit Wound From A 30-06 - Is That Possible 🤔
10.5K42 -
27:39
Tucker Carlson
3 hours agoThe 9/11 Files: The CIA’s Secret Mission Gone Wrong | Ep 1
59.7K70 -
1:16:04
JULIE GREEN MINISTRIES
4 hours agoWORLD CHANGING EVENTS ARE TAKING PLACE TO SAVE EVERY NATION
102K144 -
1:57:47
The Chris Salcedo Show
14 hours ago $3.05 earnedMajor MAHA Moves
23.8K2