Fixed incorrect read of 32-bit imm for bsr (#1644)

This commit is contained in:
Daniel Collin 2020-06-12 17:00:47 +02:00 committed by GitHub
parent 852c075723
commit a42f9fa958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1582,7 +1582,7 @@ static void d68000_bsr_16(m68k_info *info)
static void d68020_bsr_32(m68k_info *info)
{
LIMIT_CPU_TYPES(info, M68020_PLUS);
build_relative_branch(info, M68K_INS_BSR, 4, peek_imm_32(info));
build_relative_branch(info, M68K_INS_BSR, 4, read_imm_32(info));
}
static void d68000_btst_r(m68k_info *info)