[test]
400C0000 00000000 0000004D <- set inital value to 0x4D
580F0000 12400610 <
580F1000 00000090 <-- setup pointer
580F1000 00000018 <-- for loop
580F1000 00000010 <
780F0000 00000020 <- here we add instead of load because.....
300D0000 000000B5 <- setup loop for 181 times, which is 0xB5 in hex
989EF000 <- ....we transfer regF to regE for loading....
580E1000 00000000 <-....here, now RegE is RegF(depth 5)
780E0000 00000020 <- continue the pointer using E instead of F
A4EC0000 <- store the value of C using address stored at RegE
780F0000 00000008 <- get ready for next pointer, now RegF is RegF+8 (0x28, and on next loop, 0x30, 0x38, ......)
740C0000 00000001 <-increase value of C so RegC = 0x4E, and on next loop 0x4F, 0x50, 0x51,.......
310D0000 <-end loop
i thought this code would work, but based on feedback, it didnt.
@crazy_p ,
@TomSwitch,
@khuong , im sorry to ping you, but you three are the only players i know who work with pointers.....
where did i go wrong in constructing this loop code?