| Line 12: |
Line 12: |
| | She was born Augusta Ada Byron, and called by her middle name as a child. She married William King, who later became Earl of Lovelace, making her "Countess of Lovelace". She has been called Augusta Ada, Augusta Ada Byron, Augusta Ada Lovelace, Ada Lovelace, Ada King, or just Ada. | | She was born Augusta Ada Byron, and called by her middle name as a child. She married William King, who later became Earl of Lovelace, making her "Countess of Lovelace". She has been called Augusta Ada, Augusta Ada Byron, Augusta Ada Lovelace, Ada Lovelace, Ada King, or just Ada. |
| | | | |
| − | In October of 1842 Luigi Federico Menabrea (1809-1896), an Italian professor of machanics at University of Turin (and later premier of the Kingdom of Italy), published a paper describing the function and theory of Babbage's Analytical Engine. Ada translated the paper from French to English and added her own extensive comments. (See ''Science and Reform, Selected Works of Charles Babbage'' by Anthony Hyman.) This was published in 1843 and impressed Babbage, for it included, as Babbage himself wrote, | + | In October of 1842 Luigi Federico Menabrea (1809-1896), an Italian professor of mechanics at University of Turin (and later premier of the Kingdom of Italy), published a paper describing the function and theory of Babbage's Analytical Engine. Ada translated the paper from French to English and added her own extensive comments. (See ''Science and Reform, Selected Works of Charles Babbage'' by Anthony Hyman.) This was published in 1843 and impressed Babbage, for it included, as Babbage himself wrote, |
| | {{cquote|some complicated programs of her own, the most complex of these being one to calculate the sequence of Bernoulli numbers.}} | | {{cquote|some complicated programs of her own, the most complex of these being one to calculate the sequence of Bernoulli numbers.}} |
| | | | |
| Line 25: |
Line 25: |
| | At the start of the program, she gives initialization of V1=1, V2=2, and V3=N. (Modern computers often have "immediate" instructions to handle constants without using up registers.) | | At the start of the program, she gives initialization of V1=1, V2=2, and V3=N. (Modern computers often have "immediate" instructions to handle constants without using up registers.) |
| | | | |
| − | Then she lists the 23 instructions, giving their source and destination registers, opcodes, and commentary on the progress of the program. The first 5 intructions, for example, are: | + | Then she lists the 23 instructions, giving their source and destination registers, opcodes, and commentary on the progress of the program. The first 5 instructions, for example, are: |
| | | | |
| | V4=V5=V6 = V2 * V3; // Get 2N. The machine allowed multiple destination registers. | | V4=V5=V6 = V2 * V3; // Get 2N. The machine allowed multiple destination registers. |