Git Product home page Git Product logo

sic-xe-machine's Introduction

SIC/XE Machine


구현 명령

Shell, Memory Space, Opcode Table

- h[elp] : Shell에서 실행 가능한 모든 명령어들의 리스트를 화면에 출력
- d[ir] : 현재 directory에 있는 파일들을 출력
- q[uit] : Shell을 종료
- hi[story] : 현재까지 사용한 명령어들으 순서대로 번호와 함께 출력
- du[mp] [start, end] : 할당되어 있는 메모리의 내용으 출력(메모리 주소, 메모리내용(16진수); 메모리 내용(ASCII, 20~7E))
- e[dit] address, value : 메모리의 address번지 값을 value에 지정된 값으로 변경
- f[ill] start, end, value : 메모리의 start번지부 end번지 까지의 값을 value에 지정된 값으로 변경
- reset : 메모리 전체를 전부 0을 변경
- opcode mnemonic: 명령어에 해당하는 opcode를 출력
- opcodelist: opcode hash table의 내용을 출력

Assemble 기능

- type filename: filename에 해당하는 파일을 현재 디렉토리에서 읽어서 화면에 출력
- assemble filename: filename에 햐당하는 소스파일을 읽어서 object파일과 리스팅 파일을 생성
- symbol: 가자 최근의 assemble 과정에서 생성된 symbol table을 화면에 출력

Linking, Loading 기능

- progaddr [address] : loader 또는 run 명령어르 수행할 때 시작하는 주소를 지정
- loader [object filename][object filename2] [...] : filename1, 2, ...에 해당하는 파일으 읽어서 linking 작업을 수해 후 가사 메모리에 그 결과를 기록
- bp [address]: breakpoint르 지정
- bp clear: 존재하는 breakpoint를 전부 삭제
- bp: 존재하는 breakpoint르 전부 화면에 출력
- run: 메모리에 load된 프로그램의 breakpoint까지 실행, breakpoint가 없으면 끝까지 실행

수행 결과

Shell, Memory Space, Opcode Table

  • 1
  • 2
  • 3

Assemble 기능

  • 스크린샷 2021-06-30 오후 5 18 57
  • 스크린샷 2021-06-30 오후 5 19 33
  • 스크린샷 2021-06-30 오후 5 20 01
  • assemble 할 수 없는 경우

    • 스크린샷 2021-06-30 오후 5 20 16

Linking, Loading 기능

  • 스크린샷 2021-06-30 오후 5 39 47
  • 스크린샷 2021-06-30 오후 5 41 13

sic-xe-machine's People

Contributors

xfile6912 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.