AN2121 Freescale Semiconductor / Motorola, AN2121 Datasheet - Page 44

no-image

AN2121

Manufacturer Part Number
AN2121
Description
JPEG2000 Arithmetic Encoding on StarCore SC140
Manufacturer
Freescale Semiconductor / Motorola
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AN2121SC
Manufacturer:
TERIDIAN
Quantity:
40
bitstuff:
nobitstuffyet:
outputbyte:
endbyteout:
40
jfd nobitstuffyet
tfr d1,d11
asrr #20,d11
jmpd endbyteout
and #$000f,d1.h
cmpgt d1,d10
jt outputbyte
inc d2
bmtsts
jf outputbyte
and #$ffff,d1.l
jmpd bitstuff
and #$07ff,d1.h
tfr d1,d11
asrr #19,d11
and #$0007,d1.h
rtsd
move.b d2,(r7)+
#$ff,d2.l
tfr d11,d2
JPEG2000 Arithmetic Encoding on the StarCore SC140
Freescale Semiconductor, Inc.
For More Information On This Product,
and #$ffff,d1.l
move.w #7,d4
and #$ffff,d1.l
move.w #8,d4
Go to: www.freescale.com
; d1 = d11 = C
; C = C AND 0xFFFFF
; CT = 7
;
;
; B = 0xFF?
; false
; true:
; d1 = d11 = C
; C = C AND 0x7FFFF
; CT = 8
; B = C >> 20 or B = C >> 19
; output B to memory BP out
; C < 0x8000000?
true
false: B = B+1
C = C AND 0x7FFFFFF

Related parts for AN2121