#177496 - brave_orakio - Tue Jul 10, 2012 9:06 pm
Hi guys. How do I force this
into a 16-bit aligned address? I`m using it to quickly copy data from ROM to vram but unfortunately it messes up big time cause I think its forced into a 32-bit aligned address. Using ALIGN2 doesn`t work unfortunately. Using a loop gives me the correct output but that is very slow of course.
For those who are curious I`m using a bunch of similar structs so I can quickly copy data in a LZSS uncompress function.
_________________
help me
Code: |
struct 4words{ u32 data1; u32 data2; u32 data3; u32 data4; } |
into a 16-bit aligned address? I`m using it to quickly copy data from ROM to vram but unfortunately it messes up big time cause I think its forced into a 32-bit aligned address. Using ALIGN2 doesn`t work unfortunately. Using a loop gives me the correct output but that is very slow of course.
For those who are curious I`m using a bunch of similar structs so I can quickly copy data in a LZSS uncompress function.
_________________
help me