what does this polynomial division mean?
From: Chen L. (spamtrap_at_crayne.org)
Date: 02/04/05
- Next message: Phil Carmody: "Re: what does this polynomial division mean?"
- Previous message: amitkr: "Re: MD5 , RC4 Code"
- Next in thread: Phil Carmody: "Re: what does this polynomial division mean?"
- Reply: Phil Carmody: "Re: what does this polynomial division mean?"
- Reply: Steven: "Re: what does this polynomial division mean?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 4 Feb 2005 18:27:50 +0000 (UTC)
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: Phil Carmody: "Re: what does this polynomial division mean?"
- Previous message: amitkr: "Re: MD5 , RC4 Code"
- Next in thread: Phil Carmody: "Re: what does this polynomial division mean?"
- Reply: Phil Carmody: "Re: what does this polynomial division mean?"
- Reply: Steven: "Re: what does this polynomial division mean?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|