• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 5 of 5
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Monki's Avatar
      Join Date
      Dec 2012
      Location
      London
      Posts
      8
      Thanks (-->)
      2
      Thanks (<--)
      2

      All Programmers who know how to answer.

      John Kittz
      Hey forum,

      Just going back to my studies and I kind of need your help in answering one the question that is uploaded.

      The Subject is Microprocessors; and it has three tasks to answer. However I've answered Task 1 & 2 but I didn't answer Task 3 because the moment I read the question.
      I had question marks popping out of my head.

      And No you don't need to use the 8085 simulator but showing it to me in ASM.

      here is my answer and if there is a mistake I did... Please correct me .

      Task 1

      Investigate microprocessor-based systems. In your investigation you should cover the following points:
      a) Compare types of microprocessor-based system
      Super Computers: uses 60 billion-3 trillion of instructions per sec
      This will be for recovering data damages for the government, keep account financial safe, having connected across globe.

      Mainframe Computers: uses 40-4550 MIPs processor speed
      These are used for data storage when playing video games online, or setting account to a website that you are registered.

      Midrange Computers: 25-100 MIPs processor speed
      Uses same as Mainframe but has least jobs to do.

      b) Investigate three typical applications of microprocessor based systems

      Workstation: used for creating video games, connecting to severs or streaming videos.
      Personal Computer: Uses for personal use such as work, education, video games etc
      Network Computers: using to serve the web, sharing data, sending data and streaming live videos.


      Task 2

      Design and test 8085 assembly language program for the following task:
      a) Write an 8085 assembly language programme, which masks the low-4 bit digits of the number in memory location 0800 and the low-4 bit digits of the number in memory location 0801. Add the two numbers together and store the result in memory locations 0810 upwards.
      LXI H,0800
      MOV B,M
      LXI H,0801
      MOV A,M
      ADD B
      LXI H,0810
      MOV M,A
      HLT LOOK AT 2ND & 3RD INSTRUCTION
      MOVE REGISTER M TO B
      LOOK AT 2ND & 3RD INSTRUCTION
      MOVE REGISTER M TO A
      ADD REGISTER B TO A
      LOOK AT 2ND & 3RD INSTRUCTION
      MOVE REGISTER A TO M
      HALT

      b) By using structured design technique, design an 8085 assembly language programme, which compares the contents of memory location 0800 with the contents of memory location 0801. If the contents of 0800 is larger than the contents of 0801 then put ‘FF’ in memory location 0810, otherwise put ‘00’.
      LXI H,0800
      MOV B,M
      LXI H,0801
      MOV A,M
      CMP B
      JMP YES
      LXI H,0810
      MVI A,00
      MOV M,A
      HLT
      YES
      LXI H,0810
      MVI A,FF
      MOV M,A
      END
      LOOK AT 2ND & 3RD INSTRUCTION
      MOVE REGISTER M TO B
      LOOK AT 2ND & 3RD INSTRUCTION
      MOVE REGISTER M TO A
      COMPARE REGISTER B
      JUMP YES
      LOOK AT 2ND & 3RD INSTRUCTION
      MOVE IMMEDIATE A TO 00
      MOVE REGISTER A TO M
      HALT
      YES
      LOOK AT 2ND & 3RD INSTRUCTION
      MOVE IMMEDIATE FF TO A
      MOVE REGISTER M TO A
      END


      c) Write an 8085 assembly language programme, which checks the number in memory location 0800. If the number is an even number, then put ‘FF’ in memory location 0810, otherwise put ‘00’.
      LXI H,0800
      MOV A,M
      CMP A
      JNC YES
      LXI H,0810
      MVI 00,M
      HLT
      YES
      LXI H,0810
      MVI FF,M
      HLT


      d) Write an 8085 assembly language programme to perform: If (NUM1-NUM2)>NUM3 then put the result in memory location 0850 upwards, otherwise put the result in memory location 0860 upwards. Where each of NUM1 and NUM2 is two-byte number and NUM3 is a one-byte number. The numbers are stored in the following memory locations:

      NUM1 0800 & 0801
      NUM2 0802 & 0803
      NUM3 0804
      LXI H,0800
      MOV B, M
      LXI H,0802
      MOV A,M
      SUB B
      LXI H,0850
      MOV M,A
      LXI H,0801
      MOV B,M
      LXIH,0803
      MOV A,M
      SBB B
      LXI H,0860
      MOV M,A
      LXI H,0804
      MOV A,M
      LXI H,0850
      ANA M
      MOV M,A
      LXI H,0860
      ANA M
      MOV M,A
      HLT

      Regards

      Monki
      Attached Thumbnails Attached Thumbnails Microprocessors.jpg  

    2. #2
      Jr.Coder
      Learning to hack games!
       
      Feeling Normal
       
      j3b's Avatar
      Join Date
      Dec 2012
      Posts
      67
      Thanks (-->)
      2
      Thanks (<--)
      2
      wish i could help but never worked with that assembly language before! :0

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Monki's Avatar
      Join Date
      Dec 2012
      Location
      London
      Posts
      8
      Thanks (-->)
      2
      Thanks (<--)
      2
      No worries, i just upload it today and I'll see later on if anyone else knows this.

      However what I answered in task 2, do you understand that part?

    4. #4
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      AguaChaman's Avatar
      Join Date
      Oct 2012
      Posts
      8
      Thanks (-->)
      2
      Thanks (<--)
      0
      idk much about 8085 but the low four/eight bits are usually represented by two letters in Intel ASM.
      32 bits : EAX EBX ECX EDX
      16 bits : AX BX CX DX
      8 bits : AH AL BH BL CH CL DH DL
      are all registers in 8085 represented by single letters?

    5. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Monki's Avatar
      Join Date
      Dec 2012
      Location
      London
      Posts
      8
      Thanks (-->)
      2
      Thanks (<--)
      2
      Cheats'n'Trainers
      Quote Originally Posted by AguaChaman View Post
      idk much about 8085 but the low four/eight bits are usually represented by two letters in Intel ASM.
      32 bits : EAX EBX ECX EDX
      16 bits : AX BX CX DX
      8 bits : AH AL BH BL CH CL DH DL
      are all registers in 8085 represented by single letters?
      Um I'm not to sure, because I haven't used it and my lecturer said that it's just a simulator not a live simulator.
      So we in the class learned the old fashion way on a white board and write it down(not type) in our books lol

      but here is the link to see how it looks like : 8085 Simulator

      Monki XD

    6. Thanks AguaChaman thanked for this post

    Similar Game Hacker Threads

    1. [Help] can some one answer these questions for me?(merged)
      By SiliviAste in forum Hacking Help
      Replies: 8
      Last Post: 02-03-2015, 11:29 PM
    2. [Help] Simple/Easy question to answer!
      By meteor in forum GH Tutorials Help
      Replies: 1
      Last Post: 06-03-2014, 01:23 AM
    3. Can a mod answer me ?
      By Arickyy in forum Off Topic
      Replies: 2
      Last Post: 12-01-2013, 04:09 PM
    4. [Help] Plz answer
      By Meohmine in forum GH Tutorials Help
      Replies: 2
      Last Post: 10-11-2013, 07:30 AM

    Tags for this Thread