Search found 12 matches

by Gadersd
Wed Nov 06, 2013 12:36 am
Forum: Hardware
Topic: machine cycle instruction cycle or t states?
Replies: 5
Views: 2794

Re: machine cycle instruction cycle or t states?

Here is the page I was looking at. It is the 6800. https://www.jameco.com/Jameco/Products/ProdDS/43481.pdf
by Gadersd
Tue Nov 05, 2013 11:44 pm
Forum: Hardware
Topic: machine cycle instruction cycle or t states?
Replies: 5
Views: 2794

machine cycle instruction cycle or t states?

I am comparing the instruction execution speed of different 8 bit microprocessors. One document gave the amount of t states and machine cycles. Another one gave out values under the label of cycles. Does cycles refer to machine cycles or instruction cycles?
by Gadersd
Sat Aug 17, 2013 11:15 pm
Forum: Hardware
Topic: adc cycles?
Replies: 3
Views: 850

adc cycles?

I read that adc takes two cycles. So the 6502 must load the alu b register, load the alu output register with the sum, and output the sum into the accumulator all in one cycle? I don't see how this is possible with the registers being rising edge triggered. How is all this accomplished on such a ...
by Gadersd
Wed Aug 14, 2013 2:53 pm
Forum: Hardware
Topic: brk flag useless?
Replies: 28
Views: 3073

brk flag useless?

I just took a look at every 6502 instruction and noticed non of them used the brk flag, not even the branch and set flag instructions. Does the brk flag do anything at all?
by Gadersd
Tue Aug 13, 2013 12:20 am
Forum: Hardware
Topic: how only two cycles?
Replies: 7
Views: 1809

Re: how only two cycles?

How does it take one less cycle? Does the alu increment the control matrix counter to skip a cycle?
by Gadersd
Mon Aug 12, 2013 11:49 pm
Forum: Hardware
Topic: how only two cycles?
Replies: 7
Views: 1809

Re: how only two cycles?

I have one more question. In instructions like LDA 0200, FF how does the 6502 take one less cycle when the addition is not over one page. Can someone explain in the cycles of that instruction?
by Gadersd
Mon Aug 12, 2013 1:23 pm
Forum: Hardware
Topic: how only two cycles?
Replies: 7
Views: 1809

how only two cycles?

I am currently designing my own implentation of the 6502. All I have left to design is the control matrix. I am confused how instructions like INX take only two cycles. Shouldn't the cycles be like this: cycle 1-Load alu input register a with value of x register. Cycle 2-increment a input register ...
by Gadersd
Wed Jul 03, 2013 4:39 am
Forum: Hardware
Topic: 6502 branching?
Replies: 1
Views: 583

6502 branching?

How does the 6502 execute the branching instructions? I looked at the schematic, but couldn't find anything.
by Gadersd
Sun Jun 23, 2013 5:05 pm
Forum: Hardware
Topic: increment, decrement, and addressing?
Replies: 1
Views: 803

increment, decrement, and addressing?

How does the 6502 increment and decrement the X and Y registers? I orginally thought that the registers were loaded into the alu A input register and the carry was set to one, but I am not so sure anymore after I heard that the 6502 had a increment/decrement circuit seperate of the alu. Is the alu ...
by Gadersd
Sat May 11, 2013 6:05 pm
Forum: Hardware
Topic: interupts
Replies: 8
Views: 1510

Re: interupts

I just read that the brk instruction loads the PC with the address at FFFF and FFFE. How would this work when the NMI and RESET are located at different addresses?
by Gadersd
Sat May 11, 2013 5:30 pm
Forum: Hardware
Topic: interupts
Replies: 8
Views: 1510

Re: interupts

Thanks! Your answer was very helpful. I am planning on eventually building the hardware from ics.
by Gadersd
Sat May 11, 2013 3:06 am
Forum: Hardware
Topic: interupts
Replies: 8
Views: 1510

interupts

I am currently in the process of designing a microprocessor. The only thing I cannot figure out is how to implement interrupts. Can anyone give me a schematic or a very detailed description on how I can add interrupts to my microprocessor? I want it to be based of the 6502.