/dports/emulators/mess/mame-mame0226/src/devices/cpu/mcs96/ |
H A D | mcs96.cpp | 77 PSW = 0; in device_reset() 103 irq_requested = (PSW & pending_irq) && (PSW & F_I); in check_irq() 108 PSW = (PSW & 0xff00) | data; in int_mask_w() 114 return PSW; in int_mask_r() 250 PSW |= F_Z; in do_addb() 252 PSW |= F_N; in do_addb() 256 PSW |= F_C; in do_addb() 265 PSW |= F_Z; in do_add() 267 PSW |= F_N; in do_add() 271 PSW |= F_C; in do_add() [all …]
|
/dports/emulators/mame/mame-mame0226/src/devices/cpu/mcs96/ |
H A D | mcs96.cpp | 77 PSW = 0; in device_reset() 103 irq_requested = (PSW & pending_irq) && (PSW & F_I); in check_irq() 108 PSW = (PSW & 0xff00) | data; in int_mask_w() 114 return PSW; in int_mask_r() 250 PSW |= F_Z; in do_addb() 252 PSW |= F_N; in do_addb() 256 PSW |= F_C; in do_addb() 265 PSW |= F_Z; in do_add() 267 PSW |= F_N; in do_add() 271 PSW |= F_C; in do_add() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/cpu/upd7810/ |
H A D | 7810ops.c | 30 PSW = (PSW & ~CY) | (A & CY); in SLRC_A() 38 PSW = (PSW & ~CY) | (B & CY); in SLRC_B() 46 PSW = (PSW & ~CY) | (C & CY); in SLRC_C() 2525 PSW = PSW | Z | SK; in OFFA_A_V() 2534 PSW = PSW | Z | SK; in OFFA_A_A() 2543 PSW = PSW | Z | SK; in OFFA_A_B() 2552 PSW = PSW | Z | SK; in OFFA_A_C() 2561 PSW = PSW | Z | SK; in OFFA_A_D() 2570 PSW = PSW | Z | SK; in OFFA_A_E() 2579 PSW = PSW | Z | SK; in OFFA_A_H() [all …]
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/cpu/upd7810/ |
H A D | 7810ops.c | 30 PSW = (PSW & ~CY) | (A & CY); in SLRC_A() 38 PSW = (PSW & ~CY) | (B & CY); in SLRC_B() 46 PSW = (PSW & ~CY) | (C & CY); in SLRC_C() 2525 PSW = PSW | Z | SK; in OFFA_A_V() 2534 PSW = PSW | Z | SK; in OFFA_A_A() 2543 PSW = PSW | Z | SK; in OFFA_A_B() 2552 PSW = PSW | Z | SK; in OFFA_A_C() 2561 PSW = PSW | Z | SK; in OFFA_A_D() 2570 PSW = PSW | Z | SK; in OFFA_A_E() 2579 PSW = PSW | Z | SK; in OFFA_A_H() [all …]
|
/dports/emulators/mess/mame-mame0226/src/devices/cpu/upd7810/ |
H A D | upd7810_macros.h | 133 if (after == 0) PSW |= Z; else PSW &= ~Z; \ 135 PSW = (PSW&~CY) | (carry); \ 143 PSW &= ~HC; 146 if (after == 0) PSW |= Z; else PSW &= ~Z; \ 148 PSW = (PSW & ~CY) | (carry); \ 156 PSW &= ~HC; 158 #define SKIP_CY if (CY == (PSW & CY)) PSW |= SK 159 #define SKIP_NC if (0 == (PSW & CY)) PSW |= SK 160 #define SKIP_Z if (Z == (PSW & Z)) PSW |= SK 161 #define SKIP_NZ if (0 == (PSW & Z)) PSW |= SK [all …]
|
H A D | upd7810_opcodes.cpp | 30 PSW = (PSW & ~CY) | (A & CY); in SLRC_A() 38 PSW = (PSW & ~CY) | (B & CY); in SLRC_B() 46 PSW = (PSW & ~CY) | (C & CY); in SLRC_C() 2547 PSW = PSW | Z | SK; in OFFA_A_V() 2556 PSW = PSW | Z | SK; in OFFA_A_A() 2565 PSW = PSW | Z | SK; in OFFA_A_B() 2574 PSW = PSW | Z | SK; in OFFA_A_C() 2583 PSW = PSW | Z | SK; in OFFA_A_D() 2592 PSW = PSW | Z | SK; in OFFA_A_E() 2601 PSW = PSW | Z | SK; in OFFA_A_H() [all …]
|
/dports/emulators/mame/mame-mame0226/src/devices/cpu/upd7810/ |
H A D | upd7810_macros.h | 133 if (after == 0) PSW |= Z; else PSW &= ~Z; \ 135 PSW = (PSW&~CY) | (carry); \ 143 PSW &= ~HC; 146 if (after == 0) PSW |= Z; else PSW &= ~Z; \ 148 PSW = (PSW & ~CY) | (carry); \ 156 PSW &= ~HC; 158 #define SKIP_CY if (CY == (PSW & CY)) PSW |= SK 159 #define SKIP_NC if (0 == (PSW & CY)) PSW |= SK 160 #define SKIP_Z if (Z == (PSW & Z)) PSW |= SK 161 #define SKIP_NZ if (0 == (PSW & Z)) PSW |= SK [all …]
|
H A D | upd7810_opcodes.cpp | 30 PSW = (PSW & ~CY) | (A & CY); in SLRC_A() 38 PSW = (PSW & ~CY) | (B & CY); in SLRC_B() 46 PSW = (PSW & ~CY) | (C & CY); in SLRC_C() 2547 PSW = PSW | Z | SK; in OFFA_A_V() 2556 PSW = PSW | Z | SK; in OFFA_A_A() 2565 PSW = PSW | Z | SK; in OFFA_A_B() 2574 PSW = PSW | Z | SK; in OFFA_A_C() 2583 PSW = PSW | Z | SK; in OFFA_A_D() 2592 PSW = PSW | Z | SK; in OFFA_A_E() 2601 PSW = PSW | Z | SK; in OFFA_A_H() [all …]
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/cpu/upd7810/ |
H A D | 7810ops.c | 25 PSW = (PSW & ~CY) | (A & CY); in SLRC_A() 33 PSW = (PSW & ~CY) | (B & CY); in SLRC_B() 41 PSW = (PSW & ~CY) | (C & CY); in SLRC_C() 2520 PSW = PSW | Z | SK; in OFFA_A_V() 2529 PSW = PSW | Z | SK; in OFFA_A_A() 2538 PSW = PSW | Z | SK; in OFFA_A_B() 2547 PSW = PSW | Z | SK; in OFFA_A_C() 2556 PSW = PSW | Z | SK; in OFFA_A_D() 2565 PSW = PSW | Z | SK; in OFFA_A_E() 2574 PSW = PSW | Z | SK; in OFFA_A_H() [all …]
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/cpu/upd7810/ |
H A D | 7810ops.c | 25 PSW = (PSW & ~CY) | (A & CY); in SLRC_A() 33 PSW = (PSW & ~CY) | (B & CY); in SLRC_B() 41 PSW = (PSW & ~CY) | (C & CY); in SLRC_C() 2520 PSW = PSW | Z | SK; in OFFA_A_V() 2529 PSW = PSW | Z | SK; in OFFA_A_A() 2538 PSW = PSW | Z | SK; in OFFA_A_B() 2547 PSW = PSW | Z | SK; in OFFA_A_C() 2556 PSW = PSW | Z | SK; in OFFA_A_D() 2565 PSW = PSW | Z | SK; in OFFA_A_E() 2574 PSW = PSW | Z | SK; in OFFA_A_H() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/pc-bios/s390-ccw/ |
H A D | s390-arch.h | 14 typedef struct PSW { struct 17 } __attribute__ ((aligned(8))) PSW; typedef 18 _Static_assert(sizeof(struct PSW) == 16, "PSW size incorrect"); 79 PSW restart_old_psw; /* 0x120 */ 80 PSW external_old_psw; /* 0x130 */ 81 PSW svc_old_psw; /* 0x140 */ 82 PSW program_old_psw; /* 0x150 */ 83 PSW mcck_old_psw; /* 0x160 */ 84 PSW io_old_psw; /* 0x170 */ 86 PSW restart_new_psw; /* 0x1a0 */ [all …]
|
/dports/emulators/qemu/qemu-6.2.0/pc-bios/s390-ccw/ |
H A D | s390-arch.h | 14 typedef struct PSW { struct 17 } __attribute__ ((aligned(8))) PSW; typedef 18 _Static_assert(sizeof(struct PSW) == 16, "PSW size incorrect"); 81 PSW restart_old_psw; /* 0x120 */ 82 PSW external_old_psw; /* 0x130 */ 83 PSW svc_old_psw; /* 0x140 */ 84 PSW program_old_psw; /* 0x150 */ 85 PSW mcck_old_psw; /* 0x160 */ 86 PSW io_old_psw; /* 0x170 */ 88 PSW restart_new_psw; /* 0x1a0 */ [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/pc-bios/s390-ccw/ |
H A D | s390-arch.h | 14 typedef struct PSW { struct 17 } __attribute__ ((aligned(8))) PSW; argument 18 _Static_assert(sizeof(struct PSW) == 16, "PSW size incorrect"); 81 PSW restart_old_psw; /* 0x120 */ 82 PSW external_old_psw; /* 0x130 */ 83 PSW svc_old_psw; /* 0x140 */ 84 PSW program_old_psw; /* 0x150 */ 85 PSW mcck_old_psw; /* 0x160 */ 86 PSW io_old_psw; /* 0x170 */ 88 PSW restart_new_psw; /* 0x1a0 */ [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/pc-bios/s390-ccw/ |
H A D | s390-arch.h | 14 typedef struct PSW { struct 17 } __attribute__ ((aligned(8))) PSW; argument 18 _Static_assert(sizeof(struct PSW) == 16, "PSW size incorrect"); 81 PSW restart_old_psw; /* 0x120 */ 82 PSW external_old_psw; /* 0x130 */ 83 PSW svc_old_psw; /* 0x140 */ 84 PSW program_old_psw; /* 0x150 */ 85 PSW mcck_old_psw; /* 0x160 */ 86 PSW io_old_psw; /* 0x170 */ 88 PSW restart_new_psw; /* 0x1a0 */ [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/pc-bios/s390-ccw/ |
H A D | s390-arch.h | 14 typedef struct PSW { struct 17 } __attribute__ ((aligned(8))) PSW; typedef 18 _Static_assert(sizeof(struct PSW) == 16, "PSW size incorrect"); 79 PSW restart_old_psw; /* 0x120 */ 80 PSW external_old_psw; /* 0x130 */ 81 PSW svc_old_psw; /* 0x140 */ 82 PSW program_old_psw; /* 0x150 */ 83 PSW mcck_old_psw; /* 0x160 */ 84 PSW io_old_psw; /* 0x170 */ 86 PSW restart_new_psw; /* 0x1a0 */ [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/pc-bios/s390-ccw/ |
H A D | s390-arch.h | 14 typedef struct PSW { 17 } __attribute__ ((aligned(8))) PSW; 18 _Static_assert(sizeof(struct PSW) == 16, "PSW size incorrect"); 79 PSW restart_old_psw; /* 0x120 */ 80 PSW external_old_psw; /* 0x130 */ 81 PSW svc_old_psw; /* 0x140 */ 82 PSW program_old_psw; /* 0x150 */ 83 PSW mcck_old_psw; /* 0x160 */ 84 PSW io_old_psw; /* 0x170 */ 86 PSW restart_new_psw; /* 0x1a0 */ [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/pc-bios/s390-ccw/ |
H A D | s390-arch.h | 14 typedef struct PSW { struct 17 } __attribute__ ((aligned(8))) PSW; typedef 18 _Static_assert(sizeof(struct PSW) == 16, "PSW size incorrect"); 81 PSW restart_old_psw; /* 0x120 */ 82 PSW external_old_psw; /* 0x130 */ 83 PSW svc_old_psw; /* 0x140 */ 84 PSW program_old_psw; /* 0x150 */ 85 PSW mcck_old_psw; /* 0x160 */ 86 PSW io_old_psw; /* 0x170 */ 88 PSW restart_new_psw; /* 0x1a0 */ [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/pc-bios/s390-ccw/ |
H A D | s390-arch.h | 14 typedef struct PSW { struct 17 } __attribute__ ((aligned(8))) PSW; typedef 18 _Static_assert(sizeof(struct PSW) == 16, "PSW size incorrect"); 79 PSW restart_old_psw; /* 0x120 */ 80 PSW external_old_psw; /* 0x130 */ 81 PSW svc_old_psw; /* 0x140 */ 82 PSW program_old_psw; /* 0x150 */ 83 PSW mcck_old_psw; /* 0x160 */ 84 PSW io_old_psw; /* 0x170 */ 86 PSW restart_new_psw; /* 0x1a0 */ [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/rx/ |
H A D | cpu.h | 30 REG32(PSW, 0) 31 FIELD(PSW, C, 0, 1) 32 FIELD(PSW, Z, 1, 1) 33 FIELD(PSW, S, 2, 1) 34 FIELD(PSW, O, 3, 1) 35 FIELD(PSW, I, 16, 1) 36 FIELD(PSW, U, 17, 1) 37 FIELD(PSW, PM, 20, 1) 38 FIELD(PSW, IPL, 24, 4) 168 psw = FIELD_DP32(psw, PSW, U, env->psw_u); [all …]
|
/dports/emulators/qemu/qemu-6.2.0/target/rx/ |
H A D | cpu.h | 30 REG32(PSW, 0) 31 FIELD(PSW, C, 0, 1) 32 FIELD(PSW, Z, 1, 1) 33 FIELD(PSW, S, 2, 1) 34 FIELD(PSW, O, 3, 1) 35 FIELD(PSW, I, 16, 1) 36 FIELD(PSW, U, 17, 1) 37 FIELD(PSW, PM, 20, 1) 38 FIELD(PSW, IPL, 24, 4) 168 psw = FIELD_DP32(psw, PSW, U, env->psw_u); in rx_cpu_pack_psw() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/target/rx/ |
H A D | cpu.h | 30 REG32(PSW, 0) 31 FIELD(PSW, C, 0, 1) 32 FIELD(PSW, Z, 1, 1) 33 FIELD(PSW, S, 2, 1) 34 FIELD(PSW, O, 3, 1) 35 FIELD(PSW, I, 16, 1) 36 FIELD(PSW, U, 17, 1) 37 FIELD(PSW, PM, 20, 1) 38 FIELD(PSW, IPL, 24, 4) 170 psw = FIELD_DP32(psw, PSW, U, env->psw_u); in rx_cpu_pack_psw() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/target/rx/ |
H A D | cpu.h | 30 REG32(PSW, 0) 31 FIELD(PSW, C, 0, 1) 32 FIELD(PSW, Z, 1, 1) 33 FIELD(PSW, S, 2, 1) 34 FIELD(PSW, O, 3, 1) 35 FIELD(PSW, I, 16, 1) 36 FIELD(PSW, U, 17, 1) 37 FIELD(PSW, PM, 20, 1) 38 FIELD(PSW, IPL, 24, 4) 171 psw = FIELD_DP32(psw, PSW, U, env->psw_u); in rx_cpu_pack_psw() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/target/rx/ |
H A D | cpu.h | 30 REG32(PSW, 0) 31 FIELD(PSW, C, 0, 1) 32 FIELD(PSW, Z, 1, 1) 33 FIELD(PSW, S, 2, 1) 34 FIELD(PSW, O, 3, 1) 35 FIELD(PSW, I, 16, 1) 36 FIELD(PSW, U, 17, 1) 37 FIELD(PSW, PM, 20, 1) 38 FIELD(PSW, IPL, 24, 4) 171 psw = FIELD_DP32(psw, PSW, U, env->psw_u); in rx_cpu_pack_psw() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/target/rx/ |
H A D | cpu.h | 30 REG32(PSW, 0) 31 FIELD(PSW, C, 0, 1) 32 FIELD(PSW, Z, 1, 1) 33 FIELD(PSW, S, 2, 1) 34 FIELD(PSW, O, 3, 1) 35 FIELD(PSW, I, 16, 1) 36 FIELD(PSW, U, 17, 1) 37 FIELD(PSW, PM, 20, 1) 38 FIELD(PSW, IPL, 24, 4) 170 psw = FIELD_DP32(psw, PSW, U, env->psw_u); in rx_cpu_pack_psw() [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/sim/v850/ |
H A D | simops.c | 1437 PSW &= ~PSW_Z; 1439 PSW |= PSW_Z; 1460 PSW &= ~PSW_Z; 1462 PSW |= PSW_Z; 1483 PSW &= ~PSW_Z; 1506 PSW &= ~PSW_Z; 1519 PSW |= PSW_ID; 1857 PSW &= ~PSW_Z; 2586 if ((PSW & PSW_NP) && ((PSW & PSW_EP) == 0)) 2623 if ((PSW & PSW_NP) && ((PSW & PSW_EP) == 0)) [all …]
|