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