Page 1 of 1
Understanding movts

Posted:
Sun Jul 12, 2015 11:26 pm
by snim2
Re: Understanding movts

Posted:
Mon Jul 13, 2015 6:08 am
by tnt
Core registers are those in the range 0xF04??
IRET is at 0xF0420 which is the 8th register in that group = ( 0xF0420 - 0xF0400 ) / sizeof(uint32_t) = 8
Re: Understanding movts

Posted:
Mon Jul 13, 2015 6:31 am
by snim2
Re: Understanding movts

Posted:
Mon Jul 13, 2015 6:49 am
by tnt
Heh ... I guess cut & paste error in the manual ...
Re: Understanding movts

Posted:
Mon Jul 13, 2015 7:04 am
by snim2
Argh!
Re: Understanding movts

Posted:
Mon Jul 13, 2015 7:17 am
by tnt
Well the assembler works ... so between the real running code and the manual ... always trust the code !
You can report the arch manual error, there is a dedicated topic for this (can't remember on which sub forum, but it's pinned at the top IIRC)
Re: Understanding movts

Posted:
Mon Jul 13, 2015 7:23 am
by snim2
Thanks. I have a long list of these and I'll add them to the topic soon. I dearly wish the manual was on Github and I could just make a pull request.
Re: Understanding movts

Posted:
Mon Jul 13, 2015 12:14 pm
by aolofsson
Please do send any other issues you have. I would have thought they would all have been fixed by now, there were quite a few mistakes identified and fixed when the manual was released.
viewtopic.php?f=8&t=43I am really surprised that there are that many, but look forward to seeing them. I'll fix them quickly.
Thanks!
Andreas
Re: Understanding movts

Posted:
Sun Jul 19, 2015 10:42 pm
by snim2