summary refs log tree commit diff stats
path: root/tests/unit/test-string-output-visitor.c
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2021-03-07 22:25:52 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-03-11 21:12:32 +0100
commit6abcec36741e589c855084e59195fc3454bf4be6 (patch)
tree75d3ab923566e61359e13bea032f1404aa94166c /tests/unit/test-string-output-visitor.c
parentf4abdf32714d1845b7c01ec136dd2b04c2f7db47 (diff)
downloadfocaccia-qemu-6abcec36741e589c855084e59195fc3454bf4be6.tar.gz
focaccia-qemu-6abcec36741e589c855084e59195fc3454bf4be6.zip
target/m68k: implement rtr instruction
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>
Message-Id: <20210307212552.523552-1-laurent@vivier.eu>
Diffstat (limited to 'tests/unit/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions