element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Code Exchange
  • Technologies
  • More
Code Exchange
Forum Can anyone tell me what code this is?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Code Exchange to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 15 replies
  • Answers 2 answers
  • Subscribers 50 subscribers
  • Views 4246 views
  • Users 0 members are here
  • Code Exchange
Related

Can anyone tell me what code this is?

clem57
clem57 over 10 years ago

This is a quiz of sorts. I wish to know

  1. what microprocessor uses these instructions
  2. who makes it
  3. what does it do

 

0000 90      GHI 0  
0001 B6      PHI 6
0002 F829    LDI DOIT 
0004 A6      PLO 6
0005 E0      SEX 0  
0006 6400    OUT 4,00  
0009 3F09    BN4 * 
000B 6C      INP 4  
000C 64      OUT 4  
000D 370D    B4 *  
000F F860    LDI #60  
0011 A6      PLO 6  
0012 E0      SEX 0  
0013 6401    OUT 4,01
0015 3F15    BN4 *
0017 E6      SEX 6  
0018 6C      INP 4  
0019 64      OUT 4  
001A 371A    B4 *
001C E0      SEX 0  
001D 6402    OUT 4,02
001F E6      SEX 6
0020 3F20 LOOP: BN4 * 
0022 6C      INP 4  
0023 64      OUT 4  
0024 3724    B4 * 
0026 26      DEC 6  
0027 26      DEC 6
0028 46      LDA 6  
0029 C4 DOIT: NOP  
002A C4      NOP  
002B 26      DEC 6   
002C 56      STR 6 
002D 64      OUT 4  
002E 7A      REQ  
002F CA0020  LBNZ LOOP  
0032 7B      SEQ  
0033 3020    BR LOOP 

  • Sign in to reply
  • Cancel

Top Replies

  • johnbeetem
    johnbeetem over 10 years ago +2 verified
    There's only one microprocessor I know of that has a SEX instruction. It was the first CMOS microprocessor and was produced by the company that pioneered CMOS. The company originally called it COS/MOS…
  • michaelkellett
    michaelkellett over 10 years ago +2 suggested
    Much too easy - just Google the first 5 lines of code. I considered using one a long time ago but we never did - Motorola brought out a CMOS 6805 just in time. MK.
  • gdstew
    gdstew over 10 years ago in reply to johnbeetem +1
    Without looking I do at least know which one the COS/MOS processor is, having never used it I did not recognize the code. The Motorola 6809 processor also has a sex (sign extend) instruction and it has…
Parents
  • clem57
    0 clem57 over 10 years ago

    From Wikipedia for 4000 series

    • They were introduced by RCA as CD4000 COS/MOS series in 1968
    • COSMOS, standing for COmplementary Symmetry Metal-Oxide Semiconductor
    • 4000 series parts have the advantage of lower power consumption
    • Wider range of supply voltages (3 V to 15 V)
    • Although all semiconductors can be damaged by electrostatic discharge, the high impedance of CMOS inputs makes them more susceptible than bipolar transistor-based, TTL, devices
    • The 4000 series integrated circuits have been used in space satellites for many decades!

    4511 pinout

    Answers:

    1. 4000 series
    2. RCA
    3. Test Alu Ops.

     

    Since johnbeetem was first he gets the prize, with honorable mention for Capper

    Ribbon 1st Place Photo Sculptures                                                                           image

     

    Thanks to all,

    Clem

     

    P.S. If you like this, I could be persuaded to do this weekly.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • clem57
    0 clem57 over 10 years ago

    From Wikipedia for 4000 series

    • They were introduced by RCA as CD4000 COS/MOS series in 1968
    • COSMOS, standing for COmplementary Symmetry Metal-Oxide Semiconductor
    • 4000 series parts have the advantage of lower power consumption
    • Wider range of supply voltages (3 V to 15 V)
    • Although all semiconductors can be damaged by electrostatic discharge, the high impedance of CMOS inputs makes them more susceptible than bipolar transistor-based, TTL, devices
    • The 4000 series integrated circuits have been used in space satellites for many decades!

    4511 pinout

    Answers:

    1. 4000 series
    2. RCA
    3. Test Alu Ops.

     

    Since johnbeetem was first he gets the prize, with honorable mention for Capper

    Ribbon 1st Place Photo Sculptures                                                                           image

     

    Thanks to all,

    Clem

     

    P.S. If you like this, I could be persuaded to do this weekly.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • clem57
    0 clem57 over 10 years ago in reply to clem57

    Another reference https://en.wikipedia.org/wiki/RCA_1802

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gdstew
    0 gdstew over 10 years ago in reply to clem57

    The 4000 series are also very slow especially when running at lower voltages. Never cared for the way they reversed input/output pins from

    TTL small scale integration series (dual/quad/hex gates/inverters) either. Still there were applications where their wide voltage range was a

    definite advantage.

     

    @Michael Kellett

     

    I did a fair amount of assembly code on 6809's too. Also got my first taste of multitasking with OS9 on a 6809 SWTP (Southwest Technical Products

    for the "newbies") bus computer many years ago.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube