|Need help with encoding
|Page 1 of 1|
|Author:||Kecks73 [ Sat Mar 04, 2017 4:13 pm ]|
|Post subject:||Need help with encoding|
Hello every one
I need some help with my study. I have to encode some easy68k commands.
movem.L (a7)+, d2/a0
I encoded the first part of the command:
4CDF. But I couldn't encode the "follow-word" (In Gemran it's the "Folgewort". I don't know the exact technical meaning of it in english, sorry)
The full and correct encoded command of movem.L (a7)+, d2/a0 is:
How do you get the 0104?
Thanks for everyone who is helping
|Author:||profkelly [ Tue Mar 07, 2017 10:06 pm ]|
|Post subject:||Re: Need help with encoding|
From the 68000 documentation:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 | 1 | 0 | 0 | 1 |dr | 0 | 0 | 1 |size| MODE | REGISTER
dr field - Specifies the direction of the transfer.
0 - Register to memory.
1 - Memory to register.
size field - Specifies the size of the registers being transferred.
0 - Word transfer
1 - Long transfer
Mode and Register specifies the addressing mode and registers used. Refer to table in the programmers reference manual.
|Page 1 of 1||All times are UTC|
|Powered by phpBB® Forum Software © phpBB Group