diff options
Diffstat (limited to 'components/ram.py')
| -rw-r--r-- | components/ram.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/ram.py b/components/ram.py index c6d05bb..d503929 100644 --- a/components/ram.py +++ b/components/ram.py @@ -52,13 +52,11 @@ class Ram: return(value) def dump(self): - print("------- RAM --------") for key,value in self.data.items(): #print("{}:{}".format(key,bin(value)[2:])) print("{}:{}".format(key,value)) - print("--------------------") - def dump(self,start,end): + def dumpRange(self,start,end): for i in range(start,end+1): try: print("{}:{}".format(i,self.data[i])) |
