Skip to content

Commit 524e188

Browse files
committed
Validating Address Arguments
Signed-off-by: Klaus Kämpf <[email protected]>
1 parent c05355d commit 524e188

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

VAX/data/languages/vax.slaspec

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,6 +1531,25 @@ eab_a3: eab_a is eab_a { tmp = eab_a; export tmp; }
15311531
#=========================================================================
15321532
# FIXME
15331533

1534+
1535+
#=========================================================================
1536+
# Validating Address Arguments
1537+
#=========================================================================
1538+
# FIXME
1539+
1540+
:PROBER rbx, rwx, eab_a is opcode=0x0c; rbx; rwx; eab_a {
1541+
N_F = 0;
1542+
Z_F = 0; # assume readable
1543+
V_F = 0;
1544+
}
1545+
1546+
:PROBEW rbx, rwx, eab_a is opcode=0x0d; rbx; rwx; eab_a {
1547+
N_F = 0;
1548+
Z_F = 0; # assume writable
1549+
V_F = 0;
1550+
}
1551+
1552+
15341553
#=========================================================================
15351554
# Instructions related to exceptions and interrupts
15361555
#=========================================================================
@@ -1551,8 +1570,8 @@ eab_a3: eab_a is eab_a { tmp = eab_a; export tmp; }
15511570
:SVPCTX is opcode=0x07 unimpl
15521571

15531572
# move to processor register
1554-
:MFTR eal, procreg is opcode=0xda; eal; procreg {
1555-
procreg = eal;
1573+
:MTPR rlx, procreg is opcode=0xda; rlx; procreg {
1574+
procreg = rlx;
15561575
}
15571576
# move from processor register
15581577
:MFPR procreg, mlx is opcode=0xdb; procreg; mlx {

0 commit comments

Comments
 (0)