Recognizer for pairs of segment register indices and values for the visible portions of the registers.
(seg-visiblei-alistp alst) → *
Note that the register values are required to be
Function:
(defun seg-visiblei-alistp (alst) (declare (xargs :guard t)) (let ((__function__ 'seg-visiblei-alistp)) (declare (ignorable __function__)) (if (atom alst) (equal alst nil) (if (atom (car alst)) nil (let ((index (caar alst)) (value (cdar alst)) (rest (cdr alst))) (and (natp index) (< index *segment-register-names-len*) (unsigned-byte-p 16 value) (seg-visiblei-alistp rest)))))))