blueroomelectronics
- Joined Jul 22, 2007
- 1,757
I still own a almost mint TRS Model 100 & NEC 102
Is it a big calculator?.Go back, way back, when the 8085 was actually useful.
http://www.classiccmp.org/dunfield/kyocera/service.pdf
This document describes the device as used in probably it's most successfull application. Read over the Theory of operation to see how the device must be supported by external integration for it to become of any real use.
Is it your intent to work with hardware, or are you just simulating?
It's only a guess, but a HaLT would allow single stepping, while a RST may allow a status collection routine and a wait loop to resume.Ihere we use HLt in OSHON, but in case of our 8085 scientific training kit RST 5 is used,why??
I sold mine about 10 years ago, along with a pile of other 'classics'. How much stuff can one man have?I still own a almost mint TRS Model 100 & NEC 102
Unlimited.......(*girls*)How much stuff can one man have?
RST 0 --> 0x0000
RST 1 --> 0x0008
RST 2 --> 0x0010
RST 3 --> 0x0018
RST 4 --> 0x0020
RST 5 --> 0x0028
RST 6 --> 0x0030
RST 7 --> 0x0038
In a simulator you can just change the PC. I am quite sure you can do that in the OSHON simulator also.Then what about RST 1,2,3,4,5.... as i saw in course book. shows it is used to reset memory addresses.
Ahh, you must be young, as any experience will tell you that the more 'girls' you have, you more you have to divide your assets.Unlimited.......(*girls*)
Good LuckRich (BB code):;jump at the main program JMP 2003H .ORG 2000H DATA_1 .DB 03H ;2000H location to store data initialized to 3 DATA_2 .DB 06H ;2001H location to store data initialized to 6 RESULT .DB 00H ;2003H location to store data initialized to 0 ;The jump instruction takes the execution here. .ORG 2003H ;Here we load the memory address "2000H" i.e. DATA1 to reg pair HL LXI H,2000H ;Now we move the value "03" pointed by the address in HL pair ;i.e. data at 2000H in accumulator register MOV A,M ;Increment by 1 the address in HL pair i.e 2000H + 1 = 2001H INX H ;Add the data pointed by the address in HL pair with the data in accumulator register ADD M ;Increment by 1 the address in HL pair i.e 2001H + 1 = 2002H INX H ;Move the data from the accumulator register to the address pointed by the HL pair i.e at 2002H MOV M,A ;Halt the program HLT
DATA_1 .DB 03H ;2000H location to store data initialized to 3
DATA_2 .DB 06H ;2001H location to store data initialized to 6
RESULT .DB 00H ;2003H location to store data initialized to 0
I have no problem during simulation,it must be something else which caused the problem.Try to load the files from the zip file,they all are assembled in Oshon's 8085 Simulator IDE..RRITESH KAKKAR said:Hi,
In this program during stimulation it shows error at, and please tell about this initialization as it is not describe in 8085 programming model in coursre book....
Yes may be a bit I am 22,and I agree on that.GetDeviceInfo said:Ahh, you must be young, as any experience will tell you that the more 'girls' you have, you more you have to divide your assets.
can please tell the about this more, .ORG add.??I have no problem during simulation,it must be something else which caused the problem.Try to load the files from the zip file,they all are assembled in Oshon's 8085 Simulator IDE..
".ORG add." together doesn't make any sence as per me but ".ORG" and "ADD" have meaning in 8085's assembly.can please tell the about this more, .ORG add.??
.ORG 0x0020
ADD M
ADD B
ADD M
ah yes, but you can only truley help someone who can help themselves.It would really be easier for RRITESH KAKKAR. If debjit625 or someone else. Would just fly to wherever RRITESH KAKKAR lives, sit next to him, and handhold him through programming for the rest of his assembler career
org 0 ; The code is to be loaded into memory
; beginning at location 0
cnst equ 50 ; Set cnst to 50
xyz: db 72 ; Allocate a memory location for 72,
; name it, and set it to 72
result: ds 1 ; Allocate a memory location for result
start: mvi a, cnst ; Load 50 into the accumulator
lxi h, xyz ; Load the address of xyz into the H-L
; register pair
add m ; Add the value, 72, to the value in the
; accumulator. The sum is stored in the
; accumulator.
lxi h, result ; Load the address of result into the H-L
; register pair
mov M, A ; Copy the accumulator to the memory
; location, result
hlt ; Halt the processor
end start ; End of assembly
by Jeff Child
by Duane Benson
by Jake Hertz