Simulation for Automatic Machinery or SAM were two unique minicomputers built by the Norwegian Defence Research Establishment (NDRE) in the mid-1960s. SAM 1, built between 1962 and 1964, was the first Norwegian-built programmable computer. It featured 4,096 14-bit words of memory and 14 registers and was used in-house at NDRE. SAM 2 was built between 1966 and 1967 and was used for analysis of satellite imagery at Tromsø Satellite Station. A third-generation computer, it was among the first three in the world to use integrated circuits.
NDRE's first computer had been Lydia which was used for anti-submarine warfare. When it was completed in 1962, the design group led by Yngvar Lundh started working on SAM 1. After it was completed, NDRE convinced the satellite station to procure a Norwegian computer, despite that it had yet to be developed. Key people in the SAM 2 development were Lars Monrad-Krohn, Per Bjørge and Rolf Skår. On the basis of SAM 2 they established Norsk Data and developed the Nord-1 minicomputer.