629def sm86EncodeShiftRightImmediate =
630 (lambda unrestricted guard : SM86InstructionGuard .
631 unrestricted destination : SM86Register .
632 unrestricted source : SM86Register .
633 unrestricted amount : Byte .
634 unrestricted control : SM86Control .
635 nat-eliminate
636 (lambda unrestricted amountInvalid : Nat . SM86InstructionEncodingResult)
637 (then (sm86EncodeInstructionFields sm86OpcodeShiftRightImmediate guard control)
638 (sm86InstructionPrependField
639 sm86InstructionNaturalSixteen
640 sm86InstructionNaturalEight
641 (sm86RegisterNatural destination))
642 (sm86InstructionPrependField
643 sm86InstructionNaturalTwentyFour
644 sm86InstructionNaturalEight
645 255)
646 (sm86InstructionPrependField
647 sm86InstructionNaturalThirtyTwo
648 sm86InstructionNaturalThirtyTwo
649 (byte-to-nat amount))
650 (sm86InstructionPrependField
651 sm86InstructionNaturalSixtyFour
652 sm86InstructionNaturalEight
653 (sm86RegisterNatural source))
654 (sm86InstructionOneWord24Field sm86InstructionNaturalSeventyTwo 22 1)
655 0)
656 (lambda unrestricted invalidPredecessor : Nat .
657 unrestricted invalidInduction : SM86InstructionEncodingResult .
658 sm86InstructionUnsupported 9)
659 (nat-less-than 31 (byte-to-nat amount)))The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.