On 2025-08-10, fir wrote:
some thought -often programming is showed to be dealing with 0 nad ones,
but it strike me that in fact this is untrue, come better could say that data/storage is from 0,1 but prgramming on its front in fact is dealing
with opcodes (?) (numerical commands) and adresses - yet also all this microcycles... co in fact coding should be presented more like stream
of numbers: 90 3349, 87, 6787 378236, 736 23872387, not bits
Opcodes are literally the series of transistors that are switched "on" (typically represented by '1') or "off" (typically represented by '0')
in the CPU's instruction register so that you get the operation you want
out of the processor (e.g. addition or subtraction in the ALU, or
jumping the program counter to some other address, or whatever other
operation the CPU supports).
Likewise addresses are the same thing -- the physical manifestation of {8,16,32,64} transistors that need to either be "on" or "off" in order
to read a specific amount of data. Perhaps the "memory address" is that
of a single bit, or a byte, or some multiple thereto.
Not really sure what a "microcycle" is. Are you using it as terminology
from when they counted Hertz as "cycles per second"? If so, yes,
transistors are fast.
The result of "coding" (or "programming" or whatever you want to call
it) is a stream of numbers, like this (intel-format) hexfile that will
blink a LED on an AVR microcontroller (although I don't know offhand
what specific chip it was compiled for).
:020000020000FC <-- start of flash memory, $FC is a checksum
:100000000FEF04B901E005B926E033E14EEA4A9565 < bytecode($65 cksum)
:10001000F1F73A95E1F72A95D1F705B1009505B9C1 < bytecode($C1 cksum)
:02002000F3CF1C <-- end of bytecode $1C is checksum
:00000001FF <-- EOF
(not that this makes a lot of sense -- I'd have to read up that AVR is little-endian or big-endian; not that it really matters when writing C
for it though :) )
--
|_|O|_|
|_|_|O| Github:
https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)