Skip to main content
Commonmark migration
Source Link

#Intel 8080 machine code, MITS Altair 8800, 10 bytes

Intel 8080 machine code, MITS Altair 8800, 10 bytes

00 00 00 00 00 00 00 00 76

Listing:

0000   00   NOP      
0001   00   NOP      
0002   00   NOP      
0003   00   NOP      
0004   00   NOP      
0005   00   NOP      
0006   00   NOP      
0007   00   NOP      
0008   00   NOP      
0009   00   NOP      
000A   76   HLT 

Uses the CPU's program counter (PC, aka instruction pointer) to count from 0 to 10 then halt. The output display is conveniently in nibble format already.

Output:

Output is displayed on Blinkenlights A3-A0.

enter image description here

Try it online!

#Intel 8080 machine code, MITS Altair 8800, 10 bytes

00 00 00 00 00 00 00 00 76

Listing:

0000   00   NOP      
0001   00   NOP      
0002   00   NOP      
0003   00   NOP      
0004   00   NOP      
0005   00   NOP      
0006   00   NOP      
0007   00   NOP      
0008   00   NOP      
0009   00   NOP      
000A   76   HLT 

Uses the CPU's program counter (PC, aka instruction pointer) to count from 0 to 10 then halt. The output display is conveniently in nibble format already.

Output:

Output is displayed on Blinkenlights A3-A0.

enter image description here

Try it online!

Intel 8080 machine code, MITS Altair 8800, 10 bytes

00 00 00 00 00 00 00 00 76

Listing:

0000   00   NOP      
0001   00   NOP      
0002   00   NOP      
0003   00   NOP      
0004   00   NOP      
0005   00   NOP      
0006   00   NOP      
0007   00   NOP      
0008   00   NOP      
0009   00   NOP      
000A   76   HLT 

Uses the CPU's program counter (PC, aka instruction pointer) to count from 0 to 10 then halt. The output display is conveniently in nibble format already.

Output:

Output is displayed on Blinkenlights A3-A0.

enter image description here

Try it online!

add Blinkenlights
Source Link
640KB
  • 11.9k
  • 2
  • 35
  • 57

#Intel 8080 machine code, MITS Altair 8800, 10 bytes

00 00 00 00 00 00 00 00 76

Listing:

0000   00   NOP      
0001   00   NOP      
0002   00   NOP      
0003   00   NOP      
0004   00   NOP      
0005   00   NOP      
0006   00   NOP      
0007   00   NOP      
0008   00   NOP      
0009   00   NOP      
000A   76   HLT 

Uses the CPU's program counter (PC, aka instruction pointer) to count from 0 to 10 then halt. The output display is conveniently in nibble format already.

Output:

Output is displayed on Blinkenlights A3-A0.

enter image description here

Try it online!

#Intel 8080 machine code, MITS Altair 8800, 10 bytes

00 00 00 00 00 00 00 00 76

Listing:

0000   00   NOP      
0001   00   NOP      
0002   00   NOP      
0003   00   NOP      
0004   00   NOP      
0005   00   NOP      
0006   00   NOP      
0007   00   NOP      
0008   00   NOP      
0009   00   NOP      
000A   76   HLT 

Uses the CPU's program counter (PC, aka instruction pointer) to count from 0 to 10 then halt. The output display is conveniently in nibble format already.

Output:

Output is displayed on A3-A0.

enter image description here

Try it online!

#Intel 8080 machine code, MITS Altair 8800, 10 bytes

00 00 00 00 00 00 00 00 76

Listing:

0000   00   NOP      
0001   00   NOP      
0002   00   NOP      
0003   00   NOP      
0004   00   NOP      
0005   00   NOP      
0006   00   NOP      
0007   00   NOP      
0008   00   NOP      
0009   00   NOP      
000A   76   HLT 

Uses the CPU's program counter (PC, aka instruction pointer) to count from 0 to 10 then halt. The output display is conveniently in nibble format already.

Output:

Output is displayed on Blinkenlights A3-A0.

enter image description here

Try it online!

add animation of run, more explanation
Source Link
640KB
  • 11.9k
  • 2
  • 35
  • 57

#Intel 8080 machine code, MITS Altair 8800, 10 bytes

00 00 00 00 00 00 00 00 76

Listing:

0000   00   NOP      
0001   00   NOP      
0002   00   NOP      
0003   00   NOP      
0004   00   NOP      
0005   00   NOP      
0006   00   NOP      
0007   00   NOP      
0008   00   NOP      
0009   00   NOP      
000A   76   HLT 

Uses the CPU's program counter (PC, aka instruction pointer) to count from 0 to 10 then halt. The output display is conveniently in nibble format already.

Output:

Output is displayed on A3-A0.

First:

enter image description here

Last:

enter image description hereenter image description here

Try it online!

#Intel 8080 machine code, MITS Altair 8800, 10 bytes

00 00 00 00 00 00 00 00 76

Listing:

0000   00   NOP      
0001   00   NOP      
0002   00   NOP      
0003   00   NOP      
0004   00   NOP      
0005   00   NOP      
0006   00   NOP      
0007   00   NOP      
0008   00   NOP      
0009   00   NOP      
000A   76   HLT 

Output:

Output is displayed on A3-A0.

First:

enter image description here

Last:

enter image description here

Try it online!

#Intel 8080 machine code, MITS Altair 8800, 10 bytes

00 00 00 00 00 00 00 00 76

Listing:

0000   00   NOP      
0001   00   NOP      
0002   00   NOP      
0003   00   NOP      
0004   00   NOP      
0005   00   NOP      
0006   00   NOP      
0007   00   NOP      
0008   00   NOP      
0009   00   NOP      
000A   76   HLT 

Uses the CPU's program counter (PC, aka instruction pointer) to count from 0 to 10 then halt. The output display is conveniently in nibble format already.

Output:

Output is displayed on A3-A0.

enter image description here

Try it online!

Source Link
640KB
  • 11.9k
  • 2
  • 35
  • 57
Loading