From 708bd3a7b9cb3680d8964fd624e8d6e67a156ea2 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Wed, 24 Apr 2019 19:59:08 +0200 Subject: [PATCH] Update instructions according to new naming scheme --- bsrt.uc | 8 ++++---- sort2.uc | 14 +++++++------- sort3.uc | 8 ++++---- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bsrt.uc b/bsrt.uc index 669c705..8c343be 100644 --- a/bsrt.uc +++ b/bsrt.uc @@ -56,10 +56,10 @@ mov pm ar mov pc asr mov pm hr -brl; mov hr gr -brl -brl -brl +irl; mov hr gr +irl +irl +irl and HASH_MASK mov ar asr mov pm ar; mov pm asr diff --git a/sort2.uc b/sort2.uc index df48f14..8f916f1 100644 --- a/sort2.uc +++ b/sort2.uc @@ -66,13 +66,13 @@ mov pm hr // Hash HR, partially hash AR. // Result of HR-hash is in AR // Result of AR-hash is in HR -brl; mov ar gr // PM[0xFF] = AR -brl; reset asr -brl; mov gr pm -brl; mov pc asr // Set GR to pre-hash value of HR -brl; mov pm gr -brl -brl +irl; mov ar gr // PM[0xFF] = AR +irl; reset asr +irl; mov gr pm +irl; mov pc asr // Set GR to pre-hash value of HR +irl; mov pm gr +irl +irl and HASH_MASK mov ar asr diff --git a/sort3.uc b/sort3.uc index 5549c06..6ce0131 100644 --- a/sort3.uc +++ b/sort3.uc @@ -47,10 +47,10 @@ mov pc asr; incpc mov pm hr // Shift AR and HR -brl; mov pm gr -brl -brl -brl +irl; mov pm gr +irl +irl +irl and HASH_MASK // Completely hash value from HR mov ar asr mov pm ar