Riesengroßes Danke ! , Tut, der erste, der es mir richtig erklären konnte, endlich habe ich es verstanden ! <img src="/ubbthreads/images/graemlins/biggrin.gif" alt="" /> <img src="/ubbthreads/images/graemlins/up.gif" alt="" />
When you find a big kettle of crazy, it's best not to stir it. --Dilbert cartoon
"Interplay.some zombiefied unlife thing going on there" - skavenhorde at RPGWatch
Puh da bin ich ja froh, ich habe das unter zeitdruck zusammengetippt... ansonsten wären da noch ein paar mehr kommentare drin. Aber wenn Du es verstanden hast dann freut mich das <img src="/ubbthreads/images/graemlins/smile.gif" alt="" />
RISC-type assembler: (0) Load R1 with address of gun. (1) Load R2 with address of foot. (2) Load indirect word in R2 into R3. (3) Load R4 with offset of bullets within gun structure. (4) Add R4 to R1. (5) Check R1 for word alignment. Realize it is not word-aligned. (6) Subtract from R1 up to nearest word. (7) Load indirect R5 from address pointed to by R1 with indexed address of 0 to select bullet #0. (8) Bit shift R5 to put bullet into least significant byte. (9) AND mask R5 with $FF to select only bits representing bullet. (A) Use one of 78 different methods of indirect addressing to apply R5 to address of foot in R2.