cromemco: trivial optimization
authorAlan Cox <alan@linux.intel.com>
Thu, 3 Jan 2019 19:13:31 +0000 (19:13 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 3 Jan 2019 19:13:31 +0000 (19:13 +0000)
Kernel/platform-cromemco/tricks.s

index fa1bfa6..70bbe01 100644 (file)
@@ -335,7 +335,7 @@ bankfork:
        ; 15 outer loops
        ld a,#15
        ld (copyct),a
-       ld a,#0         ; Count 256 * 16 byte copies
+       xor a
        ex af,af'       ; Save A as we need an A for ioports
 cpatch0:
        ld a,#0         ; parent bank (patched in for speed)