Revision 2c17449b target-s390x/mem_helper.c
b/target-s390x/mem_helper.c | ||
---|---|---|
955 | 955 |
static uint32_t mvc_asc(CPUS390XState *env, int64_t l, uint64_t a1, |
956 | 956 |
uint64_t mode1, uint64_t a2, uint64_t mode2) |
957 | 957 |
{ |
958 |
CPUState *cs = ENV_GET_CPU(env); |
|
958 | 959 |
target_ulong src, dest; |
959 | 960 |
int flags, cc = 0, i; |
960 | 961 |
|
... | ... | |
984 | 985 |
mvc_asc(env, l - i, a1 + i, mode1, a2 + i, mode2); |
985 | 986 |
break; |
986 | 987 |
} |
987 |
stb_phys(dest + i, ldub_phys(src + i)); |
|
988 |
stb_phys(dest + i, ldub_phys(cs->as, src + i));
|
|
988 | 989 |
} |
989 | 990 |
|
990 | 991 |
return cc; |
Also available in: Unified diff