diff options
| author | Loic GUEGAN <loic.guegan@yahoo.fr> | 2018-08-31 20:11:10 +0200 |
|---|---|---|
| committer | Loic GUEGAN <loic.guegan@yahoo.fr> | 2018-08-31 20:11:10 +0200 |
| commit | 679b25a874d2dc2b12781c340f4eb58de8247e91 (patch) | |
| tree | a459d3d8fe83e028de252254dec07d058e5e6444 /components/ram.py | |
| parent | ea840b6615777ddf1da47969be619be4c823207e (diff) | |
Clean code and add extras instructions
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])) |
