2024 State of Marketing Report – by HubspotMarius Sescu
https://www.hubspot.com/state-of-marketing
· Scaling relationships and proving ROI
· Social media is the place for search, sales, and service
· Authentic influencer partnerships fuel brand growth
· The strongest connections happen via call, click, chat, and camera.
· Time saved with AI leads to more creative work
· Seeking: A single source of truth
· TLDR; Get on social, try AI, and align your systems.
· More human marketing, powered by robots
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits.
To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups.
Technology
For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did.
While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis.
Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad.
Age and Gender
When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same.
Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers.
Race Affects Attitudes
As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
This article is all about what AI trends will emerge in the field of creative operations in 2024. All the marketers and brand builders should be aware of these trends for their further use and save themselves some time!
A report by thenetworkone and Kurio.
The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands.
It’s important that you’re ready to implement new strategies in 2024.
Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024.
You’ll learn:
- The latest trends in AI and automation, and what this means for an evolving paid search ecosystem.
- New developments in privacy and data regulation.
- Emerging ad formats that are expected to make an impact next year.
Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape.
If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
5 Public speaking tips from TED - Visualized summarySpeakerHub
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world.
With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively.
The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage.
Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience.
See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers
See the original article on Forbes here:
http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world.
Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance.
For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age.
Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
A brief introduction to DataScience with explaining of the concepts, algorithms, machine learning, supervised and unsupervised learning, clustering, statistics, data preprocessing, real-world applications etc.
It's part of a Data Science Corner Campaign where I will be discussing the fundamentals of DataScience, AIML, Statistics etc.
Time Management & Productivity - Best PracticesVit Horky
Here's my presentation on by proven best practices how to manage your work time effectively and how to improve your productivity. It includes practical tips and how to use tools such as Slack, Google Apps, Hubspot, Google Calendar, Gmail and others.
The six step guide to practical project managementMindGenius
The six step guide to practical project management
If you think managing projects is too difficult, think again.
We’ve stripped back project management processes to the
basics – to make it quicker and easier, without sacrificing
the vital ingredients for success.
“If you’re looking for some real-world guidance, then The Six Step Guide to Practical Project Management will help.”
Dr Andrew Makar, Tactical Project Management
2024 State of Marketing Report – by HubspotMarius Sescu
https://www.hubspot.com/state-of-marketing
· Scaling relationships and proving ROI
· Social media is the place for search, sales, and service
· Authentic influencer partnerships fuel brand growth
· The strongest connections happen via call, click, chat, and camera.
· Time saved with AI leads to more creative work
· Seeking: A single source of truth
· TLDR; Get on social, try AI, and align your systems.
· More human marketing, powered by robots
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits.
To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups.
Technology
For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did.
While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis.
Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad.
Age and Gender
When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same.
Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers.
Race Affects Attitudes
As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
This article is all about what AI trends will emerge in the field of creative operations in 2024. All the marketers and brand builders should be aware of these trends for their further use and save themselves some time!
A report by thenetworkone and Kurio.
The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands.
It’s important that you’re ready to implement new strategies in 2024.
Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024.
You’ll learn:
- The latest trends in AI and automation, and what this means for an evolving paid search ecosystem.
- New developments in privacy and data regulation.
- Emerging ad formats that are expected to make an impact next year.
Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape.
If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
5 Public speaking tips from TED - Visualized summarySpeakerHub
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world.
With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively.
The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage.
Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience.
See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers
See the original article on Forbes here:
http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world.
Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance.
For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age.
Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
A brief introduction to DataScience with explaining of the concepts, algorithms, machine learning, supervised and unsupervised learning, clustering, statistics, data preprocessing, real-world applications etc.
It's part of a Data Science Corner Campaign where I will be discussing the fundamentals of DataScience, AIML, Statistics etc.
Time Management & Productivity - Best PracticesVit Horky
Here's my presentation on by proven best practices how to manage your work time effectively and how to improve your productivity. It includes practical tips and how to use tools such as Slack, Google Apps, Hubspot, Google Calendar, Gmail and others.
The six step guide to practical project managementMindGenius
The six step guide to practical project management
If you think managing projects is too difficult, think again.
We’ve stripped back project management processes to the
basics – to make it quicker and easier, without sacrificing
the vital ingredients for success.
“If you’re looking for some real-world guidance, then The Six Step Guide to Practical Project Management will help.”
Dr Andrew Makar, Tactical Project Management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Data Manipulation
1. Data
Manipulation
Adriano Patton
Manipolazione dei Dati Computer
Architecture
(Data Manipulation) Central
Processing Unit
(CPU)
Presentazione basata sul testo: The Stored
Program
Concept
J. Glenn Brookshear, 2012. Computer Science: An Overview. 11th
Machine
Edition. Addison-Wesley. Language
Machine
Instruction
Machine
Instruction
Encoding
Patton Adriano Program
Execution
matricola numero 156358 Special-Purpose
Register
Machine Cycle
Universit` di Trento
a Example
Arithmetic/Logic
Instructions
16 marzo 2012 Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 1 / 30
2. Programma della presentazione
Data
Manipulation
1 Computer Architecture
Adriano Patton
Central Processing Unit (CPU)
The Stored Program Concept Computer
Architecture
Central
2 Machine Language Processing Unit
(CPU)
The Stored
Machine Instruction Program
Concept
Machine Instruction Encoding Machine
Language
3 Program Execution Machine
Instruction
Special-Purpose Register Machine
Instruction
Machine Cycle Encoding
Program
Example Execution
Special-Purpose
Register
4 Arithmetic/Logic Instructions Machine Cycle
Example
Arithmetic Operations
Arithmetic/Logic
Logic Operations Instructions
Arithmetic
Rotation and Shift Operations Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 2 / 30
3. La Central Processing Unit
Data
Manipulation
Adriano Patton
Cos’` la CPU?
e Computer
Architecture
La circuiteria che controlla la manipolazione dei dati all’interno di un Central
Processing Unit
computer ` detta Central Processing Unit, CPU o processore.
e (CPU)
The Stored
Program
Concept
Nei computer costruiti a met` del secolo scorso la CPU era costituita
a Machine
Language
da molti ripiani di circuiti. I processori attuali sono invece piccoli Machine
Instruction
quadrati di spessore molto ridotto (e superficie di pochi centimetri Machine
Instruction
Encoding
quadrati), inseriti tramite dei perni sulla scheda di circuito principale
Program
del computer, detta anche scheda madre. Execution
Special-Purpose
In vari Mobile Internet Devices (MID), per esempio negli Register
Machine Cycle
smartphones, la CPU non ` pi` grande di met` francobollo e si parla
e u a Example
per questo di microprocessori. Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 3 / 30
4. Le componenti della CPU
Data
Manipulation
Adriano Patton
Computer
Una CPU ` costituita da tre parti fondamentali:
e Architecture
Central
l’unit` di controllo (o control unit), che contiene la circuiteria
a Processing Unit
(CPU)
che controlla e coordina le attivit` della macchina, ossia del
a The Stored
Program
Concept
computer; Machine
Language
l’unit` aritmetico/logica (arithmetic/logic unit o ALU), in
a Machine
Instruction
cui si trova la circuiteria che compie le operazioni (logiche e Machine
Instruction
aritmetiche) sui dati; Encoding
Program
l’unit` dei registri, che contiene celle per l’archiviazione
a Execution
temporanea di dati, simili a quelle della memoria RAM, dette Special-Purpose
Register
registri. Machine Cycle
Example
Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 4 / 30
5. I registri
Data
Manipulation
Adriano Patton
Computer
Architecture
Central
I registri si dividono in due categorie: Processing Unit
(CPU)
gli special-purpose register, quali il program counter e The Stored
Program
Concept
l’instruction register;
Machine
i general-purpose register, in cui vengono temporaneamente Language
Machine
memorizzati i dati che devono essere manipolati dalla CPU. Instruction
Machine
Hanno lo scopo di conservare in memoria i dati utilizzati come Instruction
Encoding
input dall’unit` aritmetico/logica e di fornire spazio sufficiente a
a Program
Execution
memorizzare l’output di tale unit`.
a Special-Purpose
Register
Machine Cycle
Example
Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 5 / 30
6. Il bus
Data
Come comunicano CPU e RAM? Manipulation
Adriano Patton
Il trasferimento di stringhe di bit dalla Central Processing Unit (CPU)
Computer
alla memoria principale (e viceversa) avviene tramite una collezione di Architecture
cavi che prende il nome di bus. Central
Processing Unit
(CPU)
The Stored
Program
Concept
Machine
Language
Machine
Instruction
Machine
Instruction
Encoding
Program
Execution
Special-Purpose
Register
Machine Cycle
Example
Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Figura: Il bus collega CPU e memoria principale Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 6 / 30
7. Ricapitolando
Data
Quando compie un’operazione su dati archiviati nella RAM: Manipulation
Adriano Patton
1) attraverso il bus la CPU legge i dati dalla memoria, ossia
Computer
fornisce al circuito della memoria l’indirizzo della cella Architecture
contenente i dati e quello del registro in cui i dati devono essere Central
Processing Unit
(CPU)
trasferiti (o meglio copiati), assieme ad un segnale elettronico The Stored
Program
volto ad attivare il processo di lettura; Concept
Machine
2) la CPU informa l’unit` aritmetico/logica a proposito di quale
a Language
Machine
registro contenga i dati che devono essere utilizzati come input, Instruction
Machine
attiva il circuito della stessa unit` predisposto per l’operazione
a Instruction
Encoding
in questione, comunica in quale registro l’output debba essere Program
memorizzato; Execution
Special-Purpose
Register
3) utilizzando nuovamente il bus, la CPU scrive il risultato in Machine Cycle
memoria, ossia fornisce al circuito della memoria l’indirizzo del Example
Arithmetic/Logic
registro contenente il dato da memorizzare e quello della cella di Instructions
Arithmetic
destinazione, assieme ad un altro segnale elettronico, volto Operations
Logic Operations
questa volta a far cominciare il processo di scrittura. Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 7 / 30
8. La memoria Cache
Data
Utilit` delle varie memorie
a Manipulation
Adriano Patton
Nei registri vengono memorizzati i dati che vengono utilizzati al
Computer
momento dalla CPU, nella memoria principale quelli che serviranno in Architecture
un momento successivo poco distante, nella memoria di archiviazione Central
Processing Unit
(CPU)
di massa quelli che probabilmente non verranno utilizzati in un futuro The Stored
Program
immediato. Concept
Machine
Language
Un ulteriore livello Machine
Instruction
Machine
La memoria Cache ` una parte di memoria ad alta velocit`
e a Instruction
Encoding
collocata all’interno della CPU, in cui la macchina cerca sempre di Program
mantenere i dati di momentaneo interesse. In questo modo, vari Execution
Special-Purpose
trasferimenti di dati che dovrebbero intercorrere tra la CPU e la RAM Register
Machine Cycle
avvengono invece tra i registri e la memoria Cache, con notevole Example
risparmio di tempo. Le modifiche apportate ai dati nella memoria Arithmetic/Logic
Instructions
Cache vengono poi trasferite nella memoria principale in blocco e in Arithmetic
Operations
un momento pi` opportuno, con una velocizzazione dei processi.
u Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 8 / 30
9. L’idea dello stored-program
Data
Manipulation
Grandi miglioramenti sono stati apportati ai computer per quel che Adriano Patton
riguarda la loro flessibilit`.
a
Computer
Architecture
Central
Processing Unit
I primi calcolatori avevano i processi che dovevano eseguire (CPU)
The Stored
costruiti nella Control Unit, potevano/dovevano quindi eseguire Program
Concept
sempre lo stesso programma. Machine
Language
In un secondo momento si ` cominciato a costruire delle CPU
e Machine
Instruction
che potessero essere ricablate in maniera da poter cambiare il Machine
Instruction
programma da eseguire attaccando gli appositi cavi. Encoding
Program
Un deciso passo avanti ` stato fatto quando si ` realizzato che i
e e Execution
Special-Purpose
programmi possono essere codificati e salvati nella memoria Register
Machine Cycle
come gli altri dati. Quest’idea, che prende il nome di Example
stored-program concept, permette di modificare il programma Arithmetic/Logic
Instructions
eseguito dal computer modificando la sua memoria senza dover Arithmetic
Operations
ricablare la CPU. Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 9 / 30
10. Linguaggio macchina
RISC vs CISC
Data
Manipulation
Seguendo l’idea dello stored-program la CPU ` costruita in modo da
e
Adriano Patton
poter distinguere le istruzioni da eseguire codificate come stringhe di
bit (come un qualsiasi altro tipo di dato). Con linguaggio macchina Computer
Architecture
(Machine Language) si intende l’insieme di queste istruzioni, dette Central
Processing Unit
istruzioni macchina, e del sistema utilizzato per la loro codifica. (CPU)
The Stored
Program
Concept
Per quel che riguarda la quantit` di istruzioni elementari che una
a Machine
Language
CPU deve saper riconoscere si distinguono due filosofie di pensiero Machine
Instruction
che portano rispettivamente ai seguenti: Machine
Instruction
Encoding
reduced instruction set computer (RISC), poche istruzioni di Program
base da eseguire in successione per ottenerne di pi` elaborate;
u Execution
Special-Purpose
Register
complex instruction set computer (CISC), un numero Machine Cycle
maggiore di istruzioni pi` complesse, alcune magari ridondanti.
u Example
Arithmetic/Logic
Computer con architettura RISC sono pi` veloci, pi` efficienti e meno
u u Instructions
Arithmetic
costosi, macchine dell’altro tipo sono invece pensate per far fronte al Operations
Logic Operations
meglio alla sempre maggiore complessit` dei software in commercio.
a Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 10 / 30
11. La classificazione delle istruzioni macchina
Trasferimento dati
Data
Manipulation
Le istruzioni macchina si dividono tipicamente in tre gruppi: Adriano Patton
gruppo di trasferimento dati. Computer
Architecture
gruppo aritmetico/logico. Central
Processing Unit
(CPU)
gruppo di controllo. The Stored
Program
Concept
Machine
Language
Nel gruppo di trasferimento dati si collocano le istruzioni che Machine
richiedono spostamento di dati tra diverse locazioni. In realt` i dati
a Instruction
Machine
che vengono spostati non sono quasi mai cancellati e le operazioni di Instruction
Encoding
trasferimento sono quindi pi` che altro operazioni di copiatura.
u Program
Execution
Termini particolari si utilizzano per indicare istruzioni che comportano Special-Purpose
Register
il movimento di dati dalla RAM alla CPU (istruzione LOAD) e Machine Cycle
Example
viceversa (istruzione STORE). Sempre in questo gruppo, le istruzioni
Arithmetic/Logic
di I/O sono invece i comandi che la CPU utilizza per comunicare con Instructions
Arithmetic
le periferiche esterne al sistema CPU-RAM. Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 11 / 30
12. La classificazione delle istruzioni macchina
Gruppo aritmetico/logico e gruppo di controllo
Data
Manipulation
Nel gruppo aritmetico/logico si trovano le istruzioni che
Adriano Patton
comunicano all’unit` di controllo di ordinare un’azione all’interno
a
dell’unit` aritmetico/logica. Quest’ultima ` in grado di svolgere le
a e Computer
Architecture
operazioni aritmetiche, quelle logiche di OR, AND e XOR, e altre che Central
Processing Unit
comportano lo spostamento a destra o a sinistra del contenuto dei (CPU)
The Stored
registri, quali le operazioni ROTATE e SHIFT (che prevedono Program
Concept
rispettivamente che il bit che spostandosi dovrebbe uscire dal registro Machine
Language
si posizioni all’estremit` opposta della stringa o che venga troncato).
a Machine
Instruction
Machine
Instruction
Encoding
Appartengono al gruppo di controllo i comandi utili a dirigere
Program
l’esecuzione dei programmi, pi` che a manipolare i dati, quali per
u Execution
Special-Purpose
esempio le istruzioni di salto (JUMP o BRANCH), che comunicano Register
Machine Cycle
alla CPU di eseguire un’istruzione diversa da quella che occupa il Example
posto successivo nella lista. I salti possono essere di due tipi: Arithmetic/Logic
Instructions
- incondizionati, in tal caso vengono sempre eseguiti; Arithmetic
Operations
- condizionati, ovvero eseguiti solo se una certa condizione Logic Operations
Rotation and
(specificata nell’istruzione) ` soddisfatta.
e Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 12 / 30
13. La codifica delle istruzioni macchina
Operazioni e operandi
Data
Manipulation
Adriano Patton
In generale la versione codificata di un’istruzione macchina si divide Computer
Architecture
in due parti: Central
Processing Unit
(CPU)
il campo del codice-operazione (op-code o operation code The Stored
Program
field), Concept
Machine
il campo degli operandi (operand field). Language
Machine
I bit contenuti nell’op-code field contengono informazioni relative al Instruction
Machine
tipo di operazione che deve essere svolta (STORE, LOAD, AND, Instruction
Encoding
SHIFT), quelli nell’operand field forniscono informazioni aggiuntive, Program
Execution
quali gli indirizzi dei registri contenenti i dati in input, la cella di Special-Purpose
Register
memoria in cui memorizzare una stringa, il numero di posti di cui Machine Cycle
ruotare una stringa di bit, ecc... Example
Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 13 / 30
14. La codifica delle istruzioni macchina
Esempio
Data
Manipulation
Per comprendere come le istruzioni macchina siano codificate,
Adriano Patton
consideriamo un modello di computer puramente illustrativo.
Computer
Architecture
Central
Processing Unit
(CPU)
The Stored
Program
Concept
Machine
Language
Machine
Instruction
Machine
Instruction
Encoding
Program
Execution
Special-Purpose
Register
Machine Cycle
Example
Questa macchina ha 16 registri general-purpose e 256 celle di Arithmetic/Logic
Instructions
memoria, tutti e tutte di 8 bit, numerati rispettivamente da 0 a 15 e Arithmetic
Operations
da 0 a 255, con gli indirizzi espressi nella notazione esadecimale. Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 14 / 30
15. La codifica delle istruzioni macchina
Esempio
Data
Manipulation
Adriano Patton
Nel nostro computer di esempio ogni istruzione macchina ` codificata
e
Computer
usando 16 bit, rappresentati da 4 cifre esadecimali, la prima delle Architecture
Central
quali costituisce il codice-operazione, mentre le restanti tre occupano Processing Unit
(CPU)
il campo degli operandi. The Stored
Program
I codici-operazioni distinti nel nostro linguaggio macchina sono 12 e Concept
sono indicati con le prime 12 cifre della notazione esadecimale. Machine
Language
Machine
Instruction
Machine
Per esempio, il comando 1RXY indica di caricare (LOAD) nel registro Instruction
Encoding
R la stringa di bit contenuta nella cella di memoria di indirizzo XY Program
Execution
(notare che servono 8 bit per indicare l’indirizzo di una delle 256 Special-Purpose
Register
celle), mentre l’istruzione 8RST ordina di eseguire l’operazione di Machine Cycle
Example
AND tra le stringhe contenute nei registri S e T e di memorizzare il
Arithmetic/Logic
risultato dell’operazione nel registro R. Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 15 / 30
16. L’Instruction Register e il Program Counter
Data
Manipulation
Adriano Patton
Computer
Quando un computer deve eseguire un programma archiviato in Architecture
memoria, procede copiando man mano le istruzione nella CPU, Central
Processing Unit
(CPU)
decodificandole ed eseguendole. Esso copia le istruzioni dalla The Stored
Program
memoria seguendo l’ordine delle celle che le contengono, fintanto che Concept
non incontra un’istruzione di salto. Machine
Language
Machine
Instruction
Machine
Ruoli importanti in questo processo sono svolti da due registri Instruction
Encoding
special-purpose: l’instruction register, che contiene in ogni Program
momento l’istruzione in esecuzione, e il program counter, che tiene Execution
Special-Purpose
traccia dell’indirizzo della cella contenente la prossima istruzione da Register
Machine Cycle
eseguire. Example
Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 16 / 30
17. Il ciclo macchina
Data
Manipulation
Il lavoro della CPU consiste nella ripetizione continua di un Adriano Patton
algoritmo, detto ciclo macchina, suddiviso in tre fasi: Computer
Architecture
Central
1) fase di fetch, Processing Unit
(CPU)
2) fase di decode, The Stored
Program
Concept
3) fase di execute. Machine
Language
Machine
Instruction
Fetch Machine
Instruction
Encoding
Nella fase di fetch la CPU chiede alla memoria l’istruzione Program
memorizzata all’indirizzo contenuto nel program counter (e a quello Execution
Special-Purpose
successivo nel caso della macchina illustrativa, dato che un’istruzione Register
Machine Cycle
` formata da 16 bit e occupa due celle), memorizza l’istruzione
e Example
nell’instruction register e incrementa di due il contenuto del program Arithmetic/Logic
Instructions
counter, in modo che contenga l’indirizzo del comando successivo. Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 17 / 30
18. Il ciclo macchina
Data
Manipulation
Adriano Patton
Decode Computer
Architecture
Nella fase di decode del ciclo macchina la CPU decodifica il comando Central
Processing Unit
memorizzato nell’instruction register, lo divide nelle parti relative ad (CPU)
The Stored
operazione e operandi e ne interpreta il contenuto. Program
Concept
Machine
Language
Execute Machine
Instruction
Nella fase di execute la CPU attiva i circuiti predisposti per lo Machine
Instruction
Encoding
svolgimento dell’operazione specificata dall’istruzione. Ad esempio,
Program
se il comando prevede un’operazione aritmetica, la CPU attiva il Execution
Special-Purpose
circuito corrispondente nell’unit` aritmetico/logica con i registri
a Register
Machine Cycle
specificati dall’istruzione in input, attende il risultato e lo pone nel Example
registro appropriato. Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 18 / 30
19. Il ciclo macchina
Data
Manipulation
Eseguita un’istruzione, la CPU ricomincia il ciclo con una nuova fase Adriano Patton
di fetch, in vista della quale il program counter ` stato
e
Computer
opportunamente incrementato di due unit`. a Architecture
Central
Processing Unit
(CPU)
The Stored
Salti! Program
Concept
L’unico caso in cui il ciclo macchina viene modificato ` quello in cui il
e Machine
Language
comando da eseguire sia un salto. Supponiamo che l’istruzione Machine
Instruction
ricevuta dalla CPU del nostro modello sia BA47, che significa “salta Machine
Instruction
(JUMP) al comando della cella 47 (esadecimale) nel caso il Encoding
contenuto del registro A sia uguale a quello del registro 0”. Nella Program
Execution
fase di execute, prima vengono confrontate le stringhe nei due Special-Purpose
Register
registri, poi, se esse risultino essere differenti, la fase di execute Machine Cycle
Example
termina e riparte un nuovo ciclo, nel caso invece coincidano, la CPU Arithmetic/Logic
copia nel program counter l’istruzione memorizzata nella cella 47 Instructions
Arithmetic
(cominciando di fatto una nuova e particolare fase di fetch). Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 19 / 30
20. Il clock del computer
Data
Manipulation
Adriano Patton
Computer
Architecture
Central
Processing Unit
(CPU)
The Stored
Il clock del computer ` un circuito, detto anche oscillatore, che
e Program
Concept
genera impulsi utilizzati per coordinare le attivit` della CPU e per
a Machine
scandirne i tempi. Maggiore ` la velocit` di clock di un PC, misurata
e a Language
Machine
in Hertz, pi` velocemente questo porta a termine il suo ciclo
u Instruction
Machine
macchina. Instruction
Encoding
Program
Execution
Special-Purpose
Register
Machine Cycle
Example
Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 20 / 30
21. Esempio di esecuzione di un programma
Data
Manipulation
Adriano Patton
Computer
Architecture
Concretizziamo quanto visto fino ad ora descrivendo le operazioni che Central
Processing Unit
si susseguono all’interno del nostro computer modello quando viene (CPU)
The Stored
eseguito un programma. Program
Concept
Machine
Language
Addizione di due stringhe contenute in memoria Machine
Instruction
Machine
Supponiamo che il programma consista nel leggere due dati dalla Instruction
Encoding
memoria, farne la somma e poi scrivere in memoria il risultato. Program
Per cominciare dobbiamo salvare il programma nella memoria, per Execution
Special-Purpose
esempio nelle celle consecutive da quella di indirizzo A0 in poi. Register
Machine Cycle
Example
Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 21 / 30
22. Esempio di esecuzione di un programma
Data
Manipulation
Adriano Patton
Computer
Architecture
Central
Per far partire l’esecuzione bisogna Processing Unit
(CPU)
memorizzare l’indirizzo A0 nel program The Stored
Program
counter e accendere il computer. Concept
Machine
La CPU comincia il suo ciclo con la fase Language
di fetch, estraendo la prima istruzione Machine
Instruction
dalla cella A0 e copiandola Machine
Instruction
Encoding
nell’instruction register. Ci` comporta lo
o
Program
spostamento di 16 bit, il contenuto di Execution
Special-Purpose
due celle di memoria, perci` il program
o Register
Machine Cycle
counter viene incrementato di due unit`.a Example
Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 22 / 30
23. Esempio di esecuzione di un programma
Data
Manipulation
Alla fine della fase di fetch abbiamo: Adriano Patton
A2 nel program counter, Computer
Architecture
156C nell’instruction register. Central
Processing Unit
Nella fase di decode successiva, la CPU decodifica il comando 156C (CPU)
The Stored
contenuto nell’instruction register, che ordina di caricare nel registro Program
Concept
5 il contenuto della cella 6C. Nella fase di execute questa operazione Machine
Language
viene portata a termine e pu` iniziare un nuovo ciclo.
o Machine
Instruction
Machine
Instruction
Encoding
Il contenuto delle celle A2 e A3 (166D) viene spostato nell’instruction Program
register e il program counter ` nuovamente incrementato di due:
e Execution
Special-Purpose
Register
A4 nel program counter, Machine Cycle
Example
166D nell’instruction register. Arithmetic/Logic
Instructions
Il comando 166D viene tradotto come “caricare nel registro 6 i bit Arithmetic
Operations
della cella 6D”e successivamente eseguito. Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 23 / 30
24. Esempio di esecuzione di un programma
Data
Manipulation
Adriano Patton
Computer
Architecture
Central
Allo stesso modo si svolgono i cicli successivi, in cui vengono reperite, Processing Unit
(CPU)
decodificate e eseguite le seguenti istruzioni: The Stored
Program
Concept
5056: somma i contenuti dei registri 5 e 6 e memorizza il Machine
Language
risultato nel registro 0; Machine
Instruction
306E: scrivi il contenuto del registro 0 nella cella di memoria di Machine
Instruction
indirizzo 6E; Encoding
Program
C000: arresta il processo. Execution
Special-Purpose
Register
Machine Cycle
Example
Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 24 / 30
25. Le istruzioni aritmetico/logiche
Data
Manipulation
Adriano Patton
Il gruppo delle istruzioni aritmetico/logiche comprende tutti i
comandi che richiedono operazioni: Computer
Architecture
aritmetiche, Central
Processing Unit
(CPU)
logiche, The Stored
Program
Concept
di spostamento-bit (ROTATE e SHIFT). Machine
Language
Machine
Instruction
Operazioni aritmetiche Machine
Instruction
Encoding
Alcune CPU sono progettate per eseguire solamente somme e Program
sottrazioni, altre solo addizioni. Un’operazione di sottrazione pu`
o Execution
Special-Purpose
infatti essere calcolata come un’addizione (modificando Register
Machine Cycle
opportunamente le stringhe di bit operande). Allo stesso modo una Example
moltiplicazione pu` essere ricondotta ad una serie di addizioni e una
o Arithmetic/Logic
Instructions
divisione ad una di sottrazioni. Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 25 / 30
26. Le istruzioni aritmetico/logiche
Data
Manipulation
Adriano Patton
Complemento a 2 vs virgola mobile
Computer
Esistono diverse tipologie della stessa operazione di somma: Architecture
Central
addizionare due valori memorizzati nella notazione del complemento Processing Unit
(CPU)
a due comporta soltanto una somma bit a bit, addizionarne due The Stored
Program
Concept
memorizzati nella notazione a virgola mobile (floating point) Machine
comporta invece un procedimento pi` lungo. La mantissa deve essere
u Language
Machine
estratta, la virgola spostata del numero corretto di posizioni e il bit di Instruction
Machine
segno deve essere controllato. Solamente a questo punto si procede Instruction
Encoding
con la somma bit a bit, per poi ritradurre il risultato in notazione Program
Execution
floating point. Special-Purpose
Entrambi i procedimenti appena descritti vengono definiti “operazioni Register
Machine Cycle
di addizione”, ma prevedono azioni molto diverse da parte del Example
Arithmetic/Logic
computer. Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 26 / 30
27. Le istruzioni aritmetico/logiche
Data
Manipulation
Adriano Patton
Operazioni logiche Computer
Architecture
Le operazioni binarie di OR, AND e XOR definite su due bit di input Central
Processing Unit
possono essere estese facilmente a operazioni su due stringhe di bit: (CPU)
The Stored
per fare un’operazione di OR tra due stringhe si procede eseguendo Program
Concept
l’OR bit a bit (il primo col primo, il secondo col secondo,...). Allo Machine
Language
stesso modo per AND e XOR. Machine
Instruction
Machine
10110001 Instruction
Encoding
OR 01100100 Program
Execution
Special-Purpose
11110101 Register
Machine Cycle
Example
Il risultato di una colonna ` calcolato indipendentemente dalle altre.
e Arithmetic/Logic
Instructions
Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 27 / 30
28. Le istruzioni aritmetico/logiche
Masking bits
Data
Manipulation
Le operazioni logiche sono utilizzate per modificare le stringhe Adriano Patton
forzando alcuni bit ad assumere un determinato valore in quelle che Computer
Architecture
vengono dette operazioni di masking. Central
Processing Unit
Se si volesse per esempio indurre i primi quattro bit di una stringa ad (CPU)
The Stored
assumere il valore 1, lasciando invariati gli altri, basterebbe eseguire Program
Concept
un OR tra la stringa da “mascherare”e la stringa 11110000. Per far Machine
diventare invece questi bit degli 0 basterebbe eseguire un AND con la Language
Machine
stringa 00001111. Instruction
Machine
Instruction
Encoding
10110001 10110001 10110001 Program
Execution
OR 11110000 AND 00001111 XOR 11111111 Special-Purpose
Register
11110001 00000001 01001110 Machine Cycle
Example
Arithmetic/Logic
Facendo invece lo XOR della stringa data con la stringa 11111111 ne Instructions
otteniamo la complementare. Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 28 / 30
29. Le istruzioni aritmetico/logiche
Data
Operazioni Shift e Rotate Manipulation
Adriano Patton
Le operazioni di traslazione e di rotazione permettono di spostare i
Computer
bit all’interno di un registro. Un’operazione di questa categoria trasla Architecture
tutti i bit (per esempio) a destra di (per esempio) 2 posti. Central
Processing Unit
(CPU)
The Stored
10101101 −→ ??101011 01 Program
Concept
Machine
Language
Le operazioni di traslazione si distinguono in base al loro Machine
Instruction
comportamento sui (nel nostro caso 2) bit che “dovrebbero Machine
Instruction
cadere”fuori dal registro, che nel nostro caso contiene 8 bit. Encoding
Program
Execution
Nel caso questi bit vengano inseriti, rispettando l’ordine, nei Special-Purpose
Register
posti lasciati liberi all’estremit` opposta della stringa rispetto a
a Machine Cycle
Example
quella in cui si trovavano, si parla di traslazione circolare o Arithmetic/Logic
Instructions
rotazione (circular shift o rotation). Arithmetic
Operations
10101101 01101011 Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 29 / 30
30. Le istruzioni aritmetico/logiche
Tipi di traslazione
Data
Manipulation
Nel caso vengano invece “dimenticati”e i posti vuoti vengano Adriano Patton
messi a 0, si parla di traslazione logica (logical shift). Eseguire Computer
Architecture
una traslazione logica a destra di un bit sulla rappresentazione in Central
Processing Unit
complemento a due di un numero equivale a dividerlo per 2, una (CPU)
The Stored
traslazione logica a sinistra equivale a moltiplicarlo per 2. Program
Concept
Machine
10101101 00101011 Language
Machine
Instruction
Machine
Si indicano infine come traslazioni aritmetiche (arithmetic Instruction
Encoding
shifts) le traslazioni logiche in cui il posto del primo bit di Program
sinistra, che in alcune notazioni rappresenta il bit di segno, viene Execution
Special-Purpose
riempito con il valore che aveva originariamente, al fine di Register
Machine Cycle
mantenere il segno invariato (per esempio in moltiplicazioni e Example
divisioni). Arithmetic/Logic
Instructions
10101101 10011011 Arithmetic
Operations
Logic Operations
Rotation and
Shift Operations
Adriano Patton (UniTrento) Data Manipulation 16 marzo 2012 30 / 30