what is this polynomial division?
From: Chen L. (mainline_at_citiz.net)
Date: 02/04/05
- Next message: Rick Decker: "Re: How can this assumption be made"
- Previous message: Mark Nudelman: "Re: just how many reals are there in aleph_1 ?"
- Next in thread: Randy Poe: "Re: what is this polynomial division?"
- Reply: Randy Poe: "Re: what is this polynomial division?"
- Messages sorted by: [ date ] [ thread ]
Date: 3 Feb 2005 22:44:35 -0800
Hi all,
I have been reading an algorithm of polynomial division for days, wich
was written in 51 assembler, it seems the polynomial is
X^32+X^22+X^2+X+1, but I really don't understand the meaning of the
result, it is neither the remainder nor the quotient. Could anybody
tell me something about it?
thanks in advance!
;=======================
XPD1:
MOV A,@R0
INC R0
XCH A,@R0
INC R0
XCH A,@R0
INC R0
XCH A,@R0
MOV B,A
CLR C
RLC A
XRL A,B
CLR C
RLC A
XRL B,A
MOV A,@R0
CLR C
RRC A
XRL A,@R0
RL A
RL A
ANL A,#03H
XRL B,A
DEC R0
MOV A,@R0
ANL A,#03H
RR A
RR A
XRL B,A
DEC R0
MOV A,@R0
ANL A,#0FCH
RR A
RR A
XRL A,B
DEC R0
MOV @R0,A
RET
;=====================
mainline@citiz.net
Chen L.
Feb.2,2005
- Next message: Rick Decker: "Re: How can this assumption be made"
- Previous message: Mark Nudelman: "Re: just how many reals are there in aleph_1 ?"
- Next in thread: Randy Poe: "Re: what is this polynomial division?"
- Reply: Randy Poe: "Re: what is this polynomial division?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|