![](https://secure.gravatar.com/avatar/047d632e22fd9ad7817a1bebfeef7551.jpg?s=120&d=mm&r=g)
Hi there, I recently started working on IXP1200 assembly. During my initial drudge, I was nailed down by this error
Ref count starting at xfer reg, "$$sdram_reg" does not completely
map into a previously specified contiguous region of xfer regs.
I'm sure I'm missing something very fundamental. Could any of you help me out of this. Also could you tell me how to access the archives . Thank you, Prashanth. _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
![](https://secure.gravatar.com/avatar/b45e1f9cd7737449e7123327ee972e66.jpg?s=120&d=mm&r=g)
Ref count starting at xfer reg, "$$sdram_reg" does not completely
SDRAM access granularity is 2 words (8 bytes), so you need to: ---- .local $$sdram_xfer_0 $$sdram_xfer_1 .xfer_order $$sdram_xfer_0 $$sdram_xfer_1 sdram[read, $$sdram_xfer, address, offset, 1] ; or whatever .endlocal ---- Not sure about the archives. Najati
![](https://secure.gravatar.com/avatar/94fe656ce0c680d1978822482bf3dbb6.jpg?s=120&d=mm&r=g)
Or, if you want to use macros (saves time for lazy typers): xbuf_alloc($$reg_name, 2) sdram[read, $$reg_name, address, offset, 1] xbuf_free($$reg_name) Cy On Wed, 2003-06-25 at 01:44, Najati Imam wrote:
Ref count starting at xfer reg, "$$sdram_reg" does not completely
SDRAM access granularity is 2 words (8 bytes), so you need to:
---- .local $$sdram_xfer_0 $$sdram_xfer_1 .xfer_order $$sdram_xfer_0 $$sdram_xfer_1
sdram[read, $$sdram_xfer, address, offset, 1] ; or whatever
.endlocal ----
Not sure about the archives.
Najati -- Cyrus Hall
University of Colorado
participants (3)
-
Cyrus Hall
-
Najati Imam
-
Prashanth Ramaprasad