Skip to content

8085 opcode documentation support #1

@voidash

Description

@voidash

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

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions