Search results

  1. V

    assembly Instructions

    due to some technical problem, post have been generate double. I have send request to moderator to delete my one thread look this opcode opcode 74= 01110100 ; 8 wires tell the cpu that store data into Accumulator In cpu , I have Accumulator , I want activate accumulator , which wire...
  2. V

    assembly Instructions

    Hello I need help to understand how does instruction fetch , decode and execute code ORG 000 MOV A,#55H ;load immediate value 55H into reg. A MOV R0,A ; move the content of A into R0 END p> Immediate ------------ Accumulator Accumulator------------- register CODE Memory 74 55 F8 MOV A,#55=...
  3. V

    decoder for 8051

    We write assembly code on assembler like this Assembly code MOV A, # 4A ; load data 4A into A register MOV R1,# 5E ; load the data 5E into R1 ADD A,R1 ; add the content of R1 into A register INC R1 ; increase R1 with 1 INC A ; increase A...
  4. V

    decoder for 8051

    I am really sorry, I agree It was my mistake, Some time I don't understand what suggestion do you give me It may be my English problem and definitely I will improve my English so please give me one chance,, don't ban me, I need one chance , give me one chance I will show you my work then decide...
  5. V

    decoder for 8051

    Ok I try to explain with following assembly program address Machine language assembly language 1 0000 ORG 0H 2 0000 7D25 MOV R5,#25H 3 0002 7F34 MOV R7#34H 4 0004 7400...
  6. V

    decoder for 8051

    that's the question, that I don't understand so I asked you. DO I need to create another thread for these question actually what work do you want from me ?
  7. V

    decoder for 8051

    I have little query about mov instruction How they fetch decode and execute ? Mov instruction 1. MOV @Rn, #immediate encoding 0111011 r Operation: mov@R0,#0 MOV @R0, #0 encoding 01110110 00000000 01110110 00000000 This is 2 bytes Instruction which is fetch, decode and execute unit ...
  8. V

    decoder for 8051

    I am doing some extra work Control signal that are needed to perform each type of operation Example s1s2s3 0 0 0 control signal tell the ALU to do add operation (A and B) 0 0 1 control signal tell the ALU to do oroperation (A or B) 0 1 0 control signal tell the ALU...
  9. V

    decoder for 8051

    first of all thank you for your cooperation I am sharing my big doubt 8051 Instruction set 5 bit opcode + 3 bit register specification 7 bit opcode + 1 register specification 8 bit opcode 5 bit opcode that allow 32 operations 7 bit opcode that allow 128 oprations 8 bit opcode that allow 256...
  10. V

    decoder for 8051

    you asked question Why not encode MOV R4, #5 and MOV R3, A, and MOV A, @R1? I have given answer data and address are available in registers that can be access by using register address so thats why we don't encode MOV R4, #5 and MOV R3, A, and MOV A, @R1? we can simply store data into...
  11. V

    decoder for 8051

    I think first I have to use ALU then I interface decoder with alu I am explaining my work for ALU ALU 8 bit source , destination source 1 8 bit source 2 8 bit destination 8 bit alu carry operation code from decoder so we know the source of ALU data from accumulator data from ram memory data...
  12. V

    decoder for 8051

    For the mov instruction there is no need to arithmetic and logic unit . we can simply store data into respective registers data can be directly store into memory or registers
  13. V

    decoder for 8051

    5+3= 8 bit mov with registers Rn 7+1=8 bit mov with internal data RAM 8+0=8 bit mov with accumulator we are using Mov instruction with Register R0-R7 MOV A, Rn MOV Rn, #immediate MOV Rn, direct MOV direct, Rn MOV Rn, A 7+1=8 bit 1 bit specify destination MOV @Ri, A...
  14. V

    decoder for 8051

    Ok look following file 2
  15. V

    decoder for 8051

    Ok look my another effort I think It should be correct
  16. V

    decoder for 8051

    ok look the following zip file and tell me whats wrong with this code
  17. V

    decoder for 8051

    as you suggest me I read about 8051 instruction set 8051 has 8 bit Instruction set, 4 bit for opcde and 4 bit for operand I don’t understand how to specifiy addressing mode, soure , and destination for 8051 ? I have done few changes in instruction that I have posted Instruction word size is...
  18. V

    Basic parts of processor ?

    I am really sorry i am feeling nervous I tried again to make my post easy I told you that I was not talking about design I did explain some reason everyone say start with basic so I tried in this way Q. data is 4 bit ? which alu you should have to use A . 2 bit ALU B . 4 bit ALU C 6...
  19. V

    Basic parts of processor ?

    what do you think about this Q1.Why ALU is 8 bit ? If data is 8 bit so ALU should be 8 bit if data is 4 bit then alu should be 4 bit if data is 6 bit then alu should be 6 bit if data is 16 bit then alu should be 16 bit Q2.Why Program memory is 4x16 bit ? Instruction are 4 bits so program...
  20. V

    Basic parts of processor ?

    instruction is 4 bit means 0001 add 1000 and I don't care. what I design because I am doing work on paper Q1.Why ALU is 8 bit ? If data is 8 bit so ALU should be 8 bit if data is 4 bit then alu should be 4 bit if data is 6 bit then alu should be 6 bit if data is 16 bit then alu should be 16...
Top