Beruflich Dokumente
Kultur Dokumente
- Fetch phase
- Pc - > MAR
- Fetch signal (signal mem to fetch val into mdr)
- Mdr - > IR (move val to iR)
- Pc + 1 (increase address in program counter)
- Machine language instructions - Decode phase
- Operation code – which op to perform - IR - > instruction decoder (Decode instruction
- Address field – telling memory address of the in IR)
values on which the operation works. - Instruction decoder generate signals to
- Approached activate circuitry to carry out instruction.
- Reduced instruction set computers - Execute phase
(RISC) – small, simple instructions; - Differs from one instruction to next
faster – minimized amount of
circuitry.
3
- Jmp
- Cmp – implied subtraction of a source operand from a
destination operand; cmp <destination>,<source>.
- Inc
- Dec
- Mov – copies byte or a word from a specified source to
destination; mov <destination>,<source>
- Flags register
- Sign flag (sf) – result of an arithmetic or logical
operation generates a negative result.
- Zero flag (zf) – generates a result of zero.
- Carry flag – too large to fit into destination.
ASSEMBLY LANGUAGE PROGRAMMING - Overflow flag (of) = too large or small to fit into
destination.
- Machine languages – first gen language; most basic - Auxiliary carry flag (AC) – causes a carry from
type of computer languages. bit 3 to bit 4 in an 8 bit operand.
- Assembly languages – codes resembling English. LDA - Parity flag (pf) – least significant byte in the
– load; STA – store; requires an assembler; each line result contains an even number of 1 bit.
of assembly can be replaced by the equivalent one line - Stack is an important portion of the memory
of object machine code. - system in all microprocessor. It holds data
- Higher-level languages – English like language that - temporarily and store return addresses from
provides for more natural expression of algorithms; - subroutines.
BASIC, Pascal, COBOL and PROLOG
PARAMETERS FOR SELECTING A SUITABLE IoT OS
CLASSIFICATION
- Footprint – since devices are constraint, we expect OS
- High level language to have low memory, power and processing
- Mid level language – combines low level efficiency with requirement.
high level language structure; C and MODULA-2. - Scalability – OS must be scalable for any type of
- Low level language – machine oriented; assembly and device. Familiarity with only one OS for both nodes and
machine language. gateways.
- Portability – OS isolates application from the specifics
- Language translator – aka language processor; software of the hardware. OS is ported to different hardware
that accepts source program coded in high/mid level platforms and interfaces to the board support package
language as input and produces equivalent machine (BSP) in a standard way such as using POSIX calls.
language instruction. - Modularity – OS has a kernel core that’s mandatory.
- Compiler – special program that processes All other functionality can be included as add-ons if so
statements written in a particular required by application.
programming language and turns into - Connectivity – OS supports different connectivity
machine language. protocols such as Ethernet, WiFi, BLE, IEEE 802.15.4
- Interpreter – computer program that directly and more.
executes instructions written in a - Security – OS has add-ons that bring security to the
programming or scripting language. device by way of secure boot, SSL support,
- Assembler – low level. components and drivers for encryption.
- Linker – computer program for high, mid and low levels of - Reliability – essential for mission-critical systems.
programming language; converts object code into Often devices are
executable machine code. - at remote locations and have to work for years without
- Assembly language – low-level language that provides a failure. Reliability also
kind of shorthand notation called mnemonic (memory aid) - implies OS should fulfill certifications for certain
for the actual machine language instruction. applications.
- Program control - transfer instructions change or modify
the flow of program.
4
MULTIMEDIA PLATFORM
- multi – many
- medium – substance regarded as the means of
transmission of a force or effect.
- Multimedia – represented through audio, video, and
animation in addition to traditional media.
- Medium – means for distribution and presentation of
information.
- Time independent (discrete) – text, graphics
- Time dependent (continuous) – audio, video
- Multimedia authoring tools – provide capability for
creating a complete multimedia presentations by
linking together objects.
- Macromedia flash
- Macromedia director
- Authorware
- Interactive multimedia – end user is allowed to control
what and when the elements are delivered.
- Interactive multimedia is Hypermedia – end user is
provided with the structure of linked elements trhough
which she can navigate.
- Multimedia is linear – not interactive – users sit and
watch; movie.
- Multimedia is nonlinear – users are given the
navigational control and can browse.
- Multimedia system – characterized by computer-
controlled, integrated production, etc.
- Data stream – any sequence of individual packets
transmitted in a time dependent fashion.
- Packets – carry information
- Transmission modes
- Asynchronous – packets can reach receiver
as fast as possible; for discrete media.
- Synchronous – defines maximum end to end
delay.
- Isochronous – defines maximum and
minimum end to end delay.
- Social media – collective online communication
channels dedicated to community based input,
interaction, content sharing and collaboration.