| 1 | % { dg-do assemble { target mmix-*-* } } |
| 2 | |
| 3 | # Base-plus-offset without -linker-allocated-gregs. Note the constant. |
| 4 | |
| 5 | a IS 42 |
| 6 | b IS 112 |
| 7 | LDO $43,a+52 % { dg-error "no suitable GREG definition" "" } |
| 8 | LDA $47,a+112 % { dg-error "no suitable GREG definition" "" } |
| 9 | LDA $48,b+22 % { dg-error "no suitable GREG definition" "" } |
| 10 | LDO $43,c+2 % { dg-error "no suitable GREG definition" "" } |
| 11 | LDA $47,d+212 % { dg-error "no suitable GREG definition" "" } |
| 12 | LDA $48,c+21 % { dg-error "no suitable GREG definition" "" } |
| 13 | c IS 72 |
| 14 | d IS 3 |