Search results

  1. V

    Basic parts of processor ?

    that thread I was created for Instruction set and this thread created for just confirmation that the example I created in my post is right or wrong ? . If you want to continue with one thread its ok . I just want to confirm that the concept is right or wrong
  2. V

    Basic parts of processor ?

    I have use some processor registers because ALU can't access program memory directly I just wanted to confirm that specification that in post #1 is right or wrong ? Instruction is 4 bit 16 instructions Data is 8 bit ALU is 8 bit Program memory is 4x16 bit Data memory is 8 x 256 bit 4 to 16...
  3. V

    Basic parts of processor ?

    Hello experts I need someone to check my work some part of controller Instruction is 4 bit 16 instructions Data is 8 bit ALU is 8 bit Program memory is 4x16 bit Data memory is 8 x 256 bit 4 to 16 Instruction decoder Program counter 4 bit Q1.Why ALU is 8 bit ? Because the data is 8 bit so...
  4. V

    decoder for 8051

    as you said I followed your opinion. I already wrote some code for LED, motor , switches look this post https://www.electronicspoint.com/threads/led-blinking-with-switch.270342/#post-1622878 https://www.electronicspoint.com/threads/blink-led.270332/#post-1622755...
  5. V

    decoder for 8051

    ok I have done some homework for specification of 8 bit 8051 controller 8 bit microcontroller specification 8 bit data 8 bit instruction 8 bit alu 8 bit input port 8 bit output port 4k program memory on chip 8k data memory on chip 64k external program memory 64k external data memory 16 bit...
  6. V

    decoder for 8051

    I think I understood the concept of Instruction set thank you Mr. krisBlueNZ now I want to Implement some component for processor from this instruction set ALU decoder program counter I think I have to use 4 bit alu Q1 can I use 8 to 3 decoder ?
  7. V

    decoder for 8051

    ok I will fallow your instruction I have done few changes in your example look following zip file thank you very much for your every help
  8. V

    decoder for 8051

    Instruction set c c c c xxxxxx xxxxxx 4 bit opcode xxxx s s s s s s xxxx xx 6 bit source register specification xxxx xxxxxx d d d d d d 6 bit destination register Source specification 00 xxxx Immediate 01 xxxx Not used 10 xxxx register 11 xxxx...
  9. V

    decoder for 8051

    I know. I wrote few instruction just for example .I have 256 instruction I think it depend upon designer, so I used 1 bit for mode ,5 and 6 bit for other register its ok I can use same size I wrote that example just for paper exercise Ld A #5 Ld R1#3 Add A,R1 look this example here I am...
  10. V

    decoder for 8051

    thank you very much to all members for helping me look at my another effort Instruction set opcode - instruction name operand - data or address 6 bit opcode +mode +5 bit source register + 6 bit for destination register Mode 0 address (without #) 1 number (with #) Opcode instruction...
  11. V

    decoder for 8051

    data transfer instruction from A resistor to R1 resistor Instruction set c c c c c c a b b b b r r r r r data ----------- - ------- --------- --opcode--- a --bit-- register data 6 bit op code - specify operation code such as add,mov ,subtract A (choose memory registers or accumulator ) 1...
  12. V

    decoder for 8051

    ok its my mistake register is ram memory register alu has accumulator register , accumulator is destination resister for all other calculation I know little bit about 8051 assembly language
  13. V

    decoder for 8051

    ok look my another effort 8 bit instruction set 4 bit opcode + 2 bit source register +2 bit destination register+ 4 bit data accumulator A memory register R1 memory register R2 memory register R3 opcode source destination data 0010 00 00...
  14. V

    decoder for 8051

    I followed your advice I want to connect memory with some registers read the value from program memory and store into register store value from register to memory Code: ADDRESS INSTRUCTION REGISTER DATA 01 MOV R1...
  15. V

    decoder for 8051

    If you will not banned me I want to say something to hevans I want to become design engineer, as student I learn only theory teacher don't tell us how the component connect together in big product (microcontroller ) but when any company make electronic product they don't use only one...
  16. V

    decoder for 8051

    first I wanted to learn how does instruction set make so I made handy example look post #9 there 16 instruction then I want to decode 16 instruction so I have to make decoder so I know how to make table for decoder look post #12 but I don't understand how to decode 16 instruction ? I don't...
  17. V

    decoder for 8051

    If I use 7 control signal Then I think I have to use 7 to 128 decoder
  18. V

    decoder for 8051

    ok I know how to make table for decoder look the following 4 to 16 decoder here is 4 control signal I don't understand how to decide control signal for above example 0000 0000000000000001 0001 0000000000000010 0010 0000000000000100 0011 0000000000001000 0100...
  19. V

    decoder for 8051

    I started with small one opcode I have 4 instruction Nop 00 Mov 01 Add 10 And 11 mov data Mov R1 01 00 Mov R2 01 01 Mov R3 01 10 Mov R4 11 11 add register to register Add R1R2 10 00 Add R1R3 10 01 Add R1R4 10 10 Add R2R4 10 11 and logic And R1R2 11...
  20. V

    decoder for 8051

    ok look here 8 bit instruction set 4-bit opcode and a 4-bit register specification 0001xxxx - load immediate value into registers (I have 4 general purpose registers 0011xxxx - load register R1 from location specified in the R3 0101xxxx - save register R1 to...
Top