Создать ответ 
 
Рейтинг темы:
  • Голосов: 0 - Средняя оценка: 0
  • 1
  • 2
  • 3
  • 4
  • 5
how to use sh4dis.exe
Автор Сообщение
megavolt85 Не на форуме
Супермодератор
******

Сообщений: 3107
Зарегистрирован: 24.03.2012
Рейтинг: 38
Сказал спасибо: 180
Поблагодарили 1528 раз(а) в 898 сообщ.
Сообщение: #9
RE: how to use sh4dis.exe
(18.03.2020 18:08)kof888 писал(а):  Is it read in order?



mov.l .value, r0
mov.l .value, r1
mov.l .value, r2
mov.l .value, r3

.value:
.long 0x41474553
.long 0x8c010000
.long 0x8c010004
.long 0x8c010008

no

Код:
    mov.l .value1, r0
    mov.l .value2, r1
    mov.l .value3, r2
    mov.l .value4, r3
    
.align 2
.value1:
    .long 0x41474553
.value2:
    .long 0x8c010000
.value3:
    .long 0x8c010004
.value4:
    .long 0x8c010008

Цитата:MOV.L @(disp, PC), Rn
Description
This instruction loads a signed long-word from memory using PC-relative with displacement addressing.
The effective address is formed by calculating PC+4, clearing the lowest 2 bits, and adding the zero-extended 8-bit immediate i multiplied by 4.
This address calculation ensures that the effective address is correctly aligned for a long-word access regardless of the PC alignment.
The long-word is loaded from the effective address and placed in R n .

HKT-3030, Bios mod, SD mod, VGA internal mod, G1ATA mod, Region changer mod, PSU mod
18.03.2020 18:42
Найти все сообщения Цитировать это сообщение
Создать ответ 


Сообщения в этой теме
how to use sh4dis.exe - kof888 - 09.02.2020, 08:08
RE: how to use sh4dis.exe - kof888 - 09.02.2020, 10:54
RE: how to use sh4dis.exe - kof888 - 20.02.2020, 15:37
RE: how to use sh4dis.exe - kof888 - 18.03.2020, 17:27
RE: how to use sh4dis.exe - kof888 - 18.03.2020, 18:08
RE: how to use sh4dis.exe - megavolt85 - 18.03.2020 18:42
RE: how to use sh4dis.exe - kof888 - 18.03.2020, 19:02
RE: how to use sh4dis.exe - kof888 - 19.03.2020, 04:38
RE: how to use sh4dis.exe - kof888 - 19.03.2020, 07:46
RE: how to use sh4dis.exe - kof888 - 20.03.2020, 03:36
RE: how to use sh4dis.exe - kof888 - 10.04.2020, 16:38
RE: how to use sh4dis.exe - kof888 - 10.04.2020, 20:24

Переход:


Пользователи просматривают эту тему: 1 Гость(ей)