It seems that the new .switch directive implementation, is requiring a 32 bit CPU, no matter if we are forcing .8086, which seems to be a bug.
Take a look at the following example:
.8086
mov ax, word ptr ds:[82h]
.switch ax
.case 'h-'
call ShowHelp
.break
.case 'r-'
lea dx, acReset
call PrintText
call DoReset
.break
.default
call DoIt
.break
.endswitch
UASM will report the following:
SAMPLE.ASM(14) : Warning A4130: Incompatible with segment alignment: 8
SAMPLE.ASM(14) : Warning A4130: Incompatible with segment alignment: 8
SAMPLE.ASM(14) : Error A2030: Instruction or register not accepted in current CPU mode
SAMPLE.ASM(14) : Error A2030: Instruction or register not accepted in current CPU mode