debjitbis08 / sim8085

Online 8085 simulator

Home Page:https://www.sim8085.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requested Feature: Dec to Hex converter

Bhuwan-web opened this issue · comments

Problem Statement

When we give any address to store the value at some memory location say STA 2300 then the data will be stored in memory location Hex equivalent of 2300, i.e 08FC, which is good, but to search for every result as a user, I would need to look after each hex equivalent of assigned decimal location,and have to manually calculate the equivalent or use any third app to search equivalent number and then search in memory table

Solution I Suggest

I suggest we can add one small input field to convert Decimal value given by user to convert it into hex in app itself so that no individual have to look after some additional app for that conversion. It would help user in finding up the location of memory where their data are stored and see the desired output

It will be more efficient if user given a choice to toggle between hexadecimal/decimal based search for address as illustrated.
image

Yes that will be a nice alternative but

  • given the hex number has been used in multiple places like for memory view, register view, and all outputs except who used DAAD instruction are stored in hex value, user will not only need dec to hex converter and vice versa for searching for memory address but for other values as well,

  • and even though user search using dec value still the solution will remain in hex value memory view address, so additional feature to highlight the searched cell will be required and still user will struggle a bit to find it's location.

Hmm... What if a tooltip can be added when someone hover over any value used in the program. The tooltip will show number in both hexadecimal/decimal format? That will be a minimal solution considering UI.
Otherwise a converter can definitely be added as you have suggested.

If you like, I can also add, as I am looking for open source contributions :-)

Sure you can go ahead and add, but be clear I am not the admin of this repo and this repo seems to be less maintained these days, so I am not sure either the updates will be pushed

OK Then, let me have look upon the code, meanwhile we may get connected on any of the preferred back channels mentioned on my homepage: https://sibansal.dev if you are interested to collaborate on other projects too.

@Bhuwan-web I have asked developer regarding the same, will notify you in case of any further update.