![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hey, i need a pic program that sums two 16 bit numbers. can you help me ? thx | |
| |
| | (permalink) |
| Check the PICList for plenty of examples, it's really pretty simple though. | |
| |
| | (permalink) |
| Try PICLIST.... Code: ;
movf Num1L,W ;
addwf Num2L,W ;
movwf ResultL ;
movf Num1H,W ;
skpnc ;
incf Num1H,W ;
addwf Num2H,W ;
movwf ResultH ;
; | |
| |
| | (permalink) |
| Try PicList BRo if u dont try to find it urself u cant learn anything about it babe and if u cant do that silly program so go and kill urself byrusber | |
| |
| | (permalink) |
| Thank you very much im new here and new to pic programming .. so couldnt knew where to search about this program Do you mean "http://www.piclist.com" ? | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| ohh man havent u ever used internet or how many times did u use internet | |
| |
| | (permalink) |
| i think u havent ever heard about GOOGLE haha | |
| |
| | (permalink) |
| Im not going to go in trouble with you man I really want to learn pic, thats why im here | |
| |
| | (permalink) |
| lol sure u cant try to do that man=D and i thought u have never learnt it really | |
| |
| | (permalink) |
| Code: Movf num1l, w Addwf num2l, f Movf num1h, w Btfsc _c Incfsz num1h, w Addwf num2h, f The last 4 linkes of that can be repeated as many times as wanted for longer number. Also PIC16F627 does more than a 16F84 and costs less | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| PIC16F877A TX data to PC via serial cable | derrick826 | Micro Controllers | 21 | 8th October 2007 02:28 PM |
| RS232 Converter | e.chain | Micro Controllers | 0 | 6th October 2007 07:19 PM |