From e866a3b58e18ca144739337bf36e430c65c7afe6 Mon Sep 17 00:00:00 2001 From: BigEd Date: Fri, 26 Nov 2010 14:27:03 +0000 Subject: [PATCH] put non-breaking spaces into disassembly fragments --- macros.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macros.js b/macros.js index 6c5972b..8639682 100644 --- a/macros.js +++ b/macros.js @@ -328,9 +328,9 @@ function busToString(busname){ if(busname=='State') return listActiveTCStates(); if(busname=='Execute') - return dis6502[readBits('ir',8)]; + return dis6502[readBits('ir',8)].replace(/ /,' '); if(busname=='Fetch') - return isNodeHigh(nodenames['sync'])?dis6502[readDataBus()]:''; + return isNodeHigh(nodenames['sync'])?dis6502[readDataBus()].replace(/ /,' '):''; if(busname=='plaOutputs') // PLA outputs are mostly ^op- but some have a prefix too // - we'll allow the x and xx prefix but ignore the #