Você está na página 1de 4

25/9/2019 PIC Microcontoller Math Method 16x8 multiply from Martin Sturm

181.230.46.168:LOG IN ©2019 PLEASE DON'T RIP! DO: LINK / DIGG! / MAKE! TOP NEW MORE HELP FIND:
Recommend 1

PIC Microcontoller Math Method


Search

Multiply 16x8 bit from Martin Sturm


Code:

Martin Sturm shares this code:

; 16bit by 8bit unsigned multiply


; by Martin Sturm 2010
; tested over all input combinations
;
; Nothing special, just a modified version of 16x16 code on piclist.com
;
; if t is a temp
; W * bH:bL -> r3:r2:r1
; 19 cycles, 85-125, 105 average
;
; else, comment out MOVWF t
; t * bH:bL -> r3:r2:r1 (t is modified)
; 18 cycles, 84-124, 104 average
;
MULT_16x8_SMALL MACRO bH,bL, t, r3,r2,r1
LOCAL m1, m2

CLRF r3
CLRF r2
CLRF r1
MOVWF t ; optionally comment out
BSF r1,7
m1:
RRF t,F
SKPC
GOTO m2
MOVFW bL
ADDWF r2,F
MOVFW bH
SKPNC
INCFSZ bH,W
ADDWF r3,F
m2:
RRF r3,F
RRF r2,F
RRF r1,F
SKPC
GOTO m1
ENDM

www.piclist.com/techref/microchip/math/mul/m16x8mds2.htm 1/4
25/9/2019 PIC Microcontoller Math Method 16x8 multiply from Martin Sturm

SPONSORED SEARCHES

Division Multiplication

Multiplication Practice

Multiplication Time

Mplab Multiplication

Multiplication Program in PIC16F877A

See also:

Descargar - Ver PDF Morse Code Number


Program
Ad free.propdfconverter.com piclist.com

Shop Related Products

1. Black Panther (2018)(Theatrical Version) $2.99


2. Beverly Hills Cop II $3.99
3. The Commodore Story - Changing the world 8-bits at a time $9.99
4. Martin: The Complete First Season $19.99
Ads by Amazon

file: /Techref/microchip/math/mul/m16x8mds2.htm, NaNKB (1 imgs) in 12.611s is NaNKBps, updated:


2010/4/12 21:53, local time: 2019/9/25 06:46, owner: MDS-gmail-IE8,

©2019 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse
increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated
copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO
NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / Recommend 1

<A HREF="http://www.piclist.com/techref/microchip/math/mul/m16x8mds2.htm"> PIC Microcontoller Math Method 16x8 multiply from


Martin Sturm</A>

After you find an appropriate page, you are invited to Post your
question
comment
link
preformated text to this massmind site! (posts will be visible only to you before
review) Just type in the box and press the Post button. (HTML welcomed,
but not the <A tag: Instead, use the link box to link to another page. A
tutorial is available Members can login to post directly, become page
editors, and be credited for their posts.
www.piclist.com/techref/microchip/math/mul/m16x8mds2.htm 2/4
25/9/2019 PIC Microcontoller Math Method 16x8 multiply from Martin Sturm

B I u

Link? Put it here:


if you want a response, please enter your email address:
Post
Attn spammers: All posts are reviewed before being made visible to anyone other than
the poster.
Did you find what you needed? From: "/microchip/math/mul/index.htm"

"Not quite. Look for more pages like this one."


"No. I'm looking for: Fetch "
"No. Take me to the search page."
"No. Take me to the top so I can drill down by catagory"
"No. I'm willing to pay for help, please refer me to a qualified consultant"

Software Cartas de Porte


Llene sus Cartas de Porte y solicite sus
CTG y COT en segundos con nuestros…

AgroRuralSistemas Saber más

"No. But I'm interested. Email me at when this page is


expanded."

Check out Doug


Woods' EXCELLENT Welcome to
PIC Microcontroller www.piclist.com!
Instruction Set
Quick Reference
and Core
Comparison Matrix

www.piclist.com/techref/microchip/math/mul/m16x8mds2.htm 3/4
25/9/2019 PIC Microcontoller Math Method 16x8 multiply from Martin Sturm

www.piclist.com/techref/microchip/math/mul/m16x8mds2.htm 4/4

Você também pode gostar