qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3] target/m68k: implement rtr instruction


From: Richard Henderson
Subject: Re: [PATCH v3] target/m68k: implement rtr instruction
Date: Sun, 7 Mar 2021 17:04:13 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/7/21 1:25 PM, Laurent Vivier wrote:
This is needed to boot MacOS ROM.

Pull the condition code and the program counter from the stack.

Operation:

     (SP) -> CCR
     SP + 2 -> SP
     (SP) -> PC
     SP + 4 -> SP

This operation is not privileged.

Reported-by: Mark Cave-Ayland<mark.cave-ayland@ilande.co.uk>
Tested-by: Mark Cave-Ayland<mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier<laurent@vivier.eu>
---

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]