Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8085 opcode documentation support #1

Open
voidash opened this issue Apr 21, 2022 · 0 comments
Open

8085 opcode documentation support #1

voidash opened this issue Apr 21, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@voidash
Copy link
Owner

voidash commented Apr 21, 2022

Assigned to: Ayush Paudel
Here are the list of all the instructions that needs documentation. Head to the file given below and please create JSON file

pub Instruction : &'input str = {

The format for JSON file should be

{ 
	instructions : [
	{
		"opcode" : "mov",
		"description" : "mov from one register to another register. Valid registers are a, b, c ,d , e, h, l",
               "syntax" : "mov [register] , [register]",
		"machineCycle" : "3",
                "addressingMode": "register addressing",
		"example" : "mov a, b",
               "type" : "data transfer" 
	}, 
       {  
		"opcode" : "mvi",
		"description" : "immediate move   Valid registers are a, b, c ,d , e, h, l",
               "syntax" : "mvi [register], value"
		"machineCycle" : "3",
   "addressingMode": "implied addressing",
		"example" : "mov a, b",
                "type" : "data transfer",
               
	}, 
	]
}

For information about the type of opcode you can view this slide : https://voidash.github.io/slides/8085-Programming/#4

@voidash voidash added enhancement New feature or request documentation Improvements or additions to documentation and removed enhancement New feature or request labels Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants