Read the program counter.
The result is an unsigned 32-bit integer, read directly from the register.
Function:
(defun read32-pc (stat) (declare (xargs :guard (stat32ip stat))) (let ((__function__ 'read32-pc)) (declare (ignorable __function__)) (stat32i->pc stat)))
Theorem:
(defthm ubyte32p-of-read32-pc (b* ((pc (read32-pc stat))) (ubyte32p pc)) :rule-classes :rewrite)
Theorem:
(defthm read32-pc-of-stat32i-fix-stat (equal (read32-pc (stat32i-fix stat)) (read32-pc stat)))
Theorem:
(defthm read32-pc-stat32i-equiv-congruence-on-stat (implies (stat32i-equiv stat stat-equiv) (equal (read32-pc stat) (read32-pc stat-equiv))) :rule-classes :congruence)