Renesas M32R-FPU Instrukcja Użytkownika Strona 102

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 194
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 101
3
3-64
M32R-FPU Software Manual (Rev.1.01)
LDHLDH
load/store instruction
Load halfword
[Mnemonic]
(1) LDH Rdest,@Rsrc
(2)
LDH Rdest,@(disp16,Rsrc)
[Function]
Load to register from the contents of the memory.
(1) Rdest = *( signed short *) Rsrc;
(2) Rdest = *( signed short *) ( Rsrc + ( signed short ) disp16 );
[Description]
(1) LDH sign-extends the halfword data of the memory at the address specified by Rsrc and
loads it into Rdest.
(2) LDH sign-extends the halfword data of the memory at the address specified by Rsrc
combined with the 16-bit displacement, and loads it into Rdest.
The displacement value is sign-extended to 32 bits before the address calculation.
The condition bit (C) is unchanged.
[EIT occurrence]
Address exception (AE)
[Encoding]
dest1010
dest0010
1010 src
1010 src
disp16
LDH Rdest,@Rsrc
LDH Rdest,@(disp16,Rsrc)
INSTRUCTIONS
3.2 Instruction description
Przeglądanie stron 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 193 194

Komentarze do niniejszej Instrukcji

Brak uwag