ArticleslgStudy

computer science

American Microsystems S2000

American Microsystems S2000 is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand American Microsystems S2000 rather than just read about it. In short: The S2000 was a family of specialized 4-bit microcontrollers introduced by American Microsystems Inc (AMI) in the 1970s. AMI referred to it as a "display controller", aimed at industrial control applications, HVAC control systems, appliances and simple electronic games.

Key takeaways

  • American Microsystems S2000 belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect American Microsystems S2000 to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of American Microsystems S2000 from memory before moving on to harder problems.

Reference excerpt

The S2000 was a family of specialized 4-bit microcontrollers introduced by American Microsystems Inc (AMI) in the 1970s. AMI referred to it as a "display controller", aimed at industrial control applications, HVAC control systems, appliances and simple electronic games. The system had direct support for reading keyboards and outputting to seven-segment displays. The original model combined the CPU, 1024 bytes of ROM and 64 nibbles of RAM in a 40-pin dual in-line package (DIP). It also included a seven-segment display driver and optionally the high-voltage electronics needed to directly drive an LED or vacuum fluorescent display (in the S2000A model) as well as keyboard input. Later models increased the internal memory and added new instructions. The S2000 is historically notable as the first complete system available at a price point under $10; in lots of 50,000 or more, the S2000 was $9.98.

Design

The S2000 was typical of a class of highly specialized microcontrollers that were intended to be used for industrial controllers and similar tasks. These were sometimes known as "display controllers" at the time, as they included logic specifically for use with a seven-segment display. Another example of the same class of processor is the Essex SX 200. EDN referred to these as "calculator like" due to their similarity to contemporary electronic calculator chipsets. The S2000 includes an input port intended to be used with a capacitive sensing keypad with up to 16 keys. Output is primarily though a dedicated seven-segment display port, which could optionally include the additional switching hardware needed to drive a LED or vacuum fluorescent display. One additional feature is a 50/60 Hz timer that could be used to drive external systems or internally. The customer program was masked onto a on-chip 1,024 byte ROM. The CPU has a 4-bit arithmetic logic unit (ALU) with an accumulator and an index register pointing into the RAM, executes the 8-bit instructions from ROM. The ALU could operate on binary-coded decimal data, which made it much easier to drive simple displays. There are 51 instructions including 6 memory instructions, 14 test-and-branch, 12 math and logic, 8 input/output and 10 register operations. All instructions are one byte; there are no two-byte instructions. A three-level call stack is implemented on-chip. The system's 64 nibbles of SRAM are mostly used as registers. In contrast to similar devices, the S2000 is packaged in a 40-pin DIP, which allowed it to have 29 input/output pins including a 13-bit address bus and 8-bit data bus, allowing the memory to be expanded externally. Fabricated using a (then) modern NMOS process, it was both faster and cheaper than competing systems based on the older PMOS process. The S2000 sold for $3.50 in lots of 100, and was cheaper in larger quantities. It runs at the relatively fast speed of 900 KHz clock input with most instructions completing in 4.5 μsec and only the two jump-to-subroutine instructions requiring 8 μsec, making it perform similar to contemporary "full" microprocessors like the MOS 6502. Using NMOS also meant it could run off a single 5 V supply, but the S2000 was designed specifically to be fed from a common 9-volt battery, drawing 28 mA, typical.

Instruction set The S2000 is designed to have very compact code. All instructions are one byte long. The later S2200/S2400 series added some two-byte instructions but the most frequently used instructions are one byte. As all instructions are one byte, unconditional jump (JMP) and call (JMS) are limited to 6 bits. JMP can access any of 64 locations in the current page. JMS can access any of 64 locations in the subroutine page (page 15). If either of these instructions must access another page, a PP prefix is added, expanding the subsequent JMP or JMS to 10 bits or the 1024 locations of the current bank. If either of these instructions must access another bank outside the current bank, a second PP prefix is added, expanding the subsequent JMP or JMS to 13 bits or 8192 locations. The stack only stores the lower 10 bits of the program counter so returns (RT/RTS) to a different bank are not possible. Some features of the S2000 that can be used to make object code more compact are:

Multiple LAI (load accumulator immediate) instructions can be stacked in series. Only the first LAI will be executed. Subsequent LAI instructions will execute as NOPs. This allows multiple entry points with different accumulator values for a shared routine. Multiple LBE, LBEP, LBF, and LBZ (load B) instructions can be stacked in series. Only the first LBx will be executed. Subsequent LBx instructions will execute as NOPs. This allows multiple entry points with different B values for a shared routine. The LBZ instruction can load the six-bit B register with an immediate value of 0x00, 0x10, 0x20, 0x30. The companion LBF instruction can load the six-bit B register with an immediate value of 0x0F, 0x1F, 0x2F, 0x3F. These eight memory locations are the most easily accessed. The call instruction, JMS, is a single-byte subroutine branch that can access only the 64-bytes in the subroutine page, page 15. To call a subroutine in any other page, a PP prefix is required. The B register can be used to point to up to four RAM strings with little overhead. The LAM, XC, XCI, and XCD memory access instructions can Exclusive OR the lower two bits of BU with a two-bit immediate. This allows the page portion of B (BU) to be flipped to one of the other digit strings that share the same digit (BL) address. The BL register portion can be used as a memory pointer and a loop counter simultaneously. The XCI instruction will skip if BL, after incrementing, overflows to zero, falling through the loop. Likewise the XCD instruction will skip if BL, after decrementing, underflows to 15 (decimal).

Example code The following assembler source code is for three subroutines located at page 15 named copy8, copy6, and copy16. Copy8 copies eight digits from page 2, location 8 (0x28) to page 3, location 8 (0x38). Copy6 copies six digits from page 2, location 10 (0x2A) to page 3, location 10 (0x3A). Copy16 copies 16 digits from page 3, location 0 (0x30) to page 2, location 0 (0x20). These demonstrate some unusual features of the instruction set:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with American Microsystems S2000

Start with the simplest possible case. Write down what American Microsystems S2000 claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to American Microsystems S2000 before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about American Microsystems S2000 ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of American Microsystems S2000

In research
American Microsystems S2000 appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses American Microsystems S2000 in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
American Microsystems S2000 is common in secondary-school and first-year university syllabi. It links to neighbouring topics 4-bit microprocessors, Computer-related introductions in 1977, Microcontrollers, so understanding it makes those chapters shorter.
In everyday life
Look for American Microsystems S2000 outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “American Microsystems S2000” →

How to study American Microsystems S2000 in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what American Microsystems S2000 means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain American Microsystems S2000 out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is American Microsystems S2000 in simple terms?

The S2000 was a family of specialized 4-bit microcontrollers introduced by American Microsystems Inc (AMI) in the 1970s. AMI referred to it as a "display controller", aimed at industrial control applications, HVAC control systems, appliances and simple electronic games.

Why does American Microsystems S2000 matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study American Microsystems S2000?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on American Microsystems S2000.

Tags

  • 4-bit microprocessors
  • Computer-related introductions in 1977
  • Microcontrollers

Keep exploring