Zgjidhja e detyrave te kapitullit “Fizika Relativiste” te libri “Fizika 12”, ...Liridon Muqaku
Zgjidhja e detyrave te kapitullit “Fizika Relativiste” te libri “Fizika 12”, per gjimnazin e shkencave te natyres/matematike-informatike-- Prof.Dr.Rasim Bejtullahu
Zgjidhja e detyrave te kapitullit “Fizika Relativiste” te libri “Fizika 12”, ...Liridon Muqaku
Zgjidhja e detyrave te kapitullit “Fizika Relativiste” te libri “Fizika 12”, per gjimnazin e shkencave te natyres/matematike-informatike-- Prof.Dr.Rasim Bejtullahu
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...
Leksione 5 & 6
1. R. Vasili - Gjuha Assembly – Universiteti i Gjirokastrës
«Ε. Çabej»
Simestri I – Teknololgji Informacioni
Leksione 5 dhe 6
R. Vasili - Gjuha Assembly – Universiteti i Gjirokastrës
«Ε. Çabej»
Simestri I – Teknololgji Informacioni
2. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
2
Çeshtjet që do trajtohen
• Elementet bazë të gjuhës Assembly
• Shembull: Mbledhje dhe Zbritje me numra të plotë
• Asemblimi, Lidhja, dhe Ekzekutimi i Programeve
• Përcaktimi i të Dhënave
• Konstante Simbolike
• Programimi në Mënyrë Reale Adresimi(Real-
Address Mode)
3. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
3
Elementet Bazë të gjuhës Assembly
• Konstantet Integer
• Shprehjet Integer
• Konstantet e tipit karakter dhe string
• Fjalët e Rezervuara dhe identifikuesit
• Direktivat dhe instruksionet
• Etiketat (Labels)
• Mnemonikat dhe Operandët
• Komentet
• Shembuj
4. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
4
Konstatet Integer
• Shenjat e paraprirë(me opsion) + ose –
• Shifrat binare, dhjetore, hexadecimale, ose
oktale
• Karakterët unik të bazës:
• h – hexadecimal
• d – dhjetor
• b – binar
• r – real i koduar
Shembuj: 30d, 6Ah, 42, 1101b
Numrat Hexadecimal fillojnë me shkronjë: 0A5h
5. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
5
Shprehjet Integer
• Operatorët dhe nivelet e përparësisë(precedence):
• Shembuj:
6. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
6
Konstantet e tipit Karakter dhe String
• Mbyllni karakterin në thonjëza teke ose dopjo
• 'A', "x"
• Karakteri ASCII = 1 byte
• Mbyllni stringjet në thonjëza teke ose dopjo
• "ABC"
• 'xyz'
• Çdo karakter ka një byte të vetëm
• Thonjëza të Ndërthurur(Embedded):
• „Thuaj “Natën e Mirë,” Faleminderit'
7. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
7
Fjalë të Rezervuara dhe Identifikues
• Fjalët e Rezervuara nuk mund të përdoren si identifikues
• Mnemonika Instruksioni, direktiva, tipe atributesh,
operatorë, simbole të parapërcaktuar
• Shiko MASM reference
• Identifikuesit
• 1-247 karaktere, duke përfshirë shifrat
• Nuk merret parasysh nëse shkronjat janë të medha apo të
vogla
• Karakteri i parë duhet të jetë shkronjë, _, @, ?, ose $
8. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
8
Direktiva
• Komanda që njihen dhe veprojnë mbi asembluesin
• Nuk janë pjesë e setit të instruksioneve të Intel-it
• Përdoren për deklarim kodi, hapësire të dhenash,
zgjedhin modelin e kujtesës, deklarojnë proçedurat,
etj.
• Nuk merret parasysh nëse shkronjat janë të medha
apo të vogla
• Asemblues të ndryshëm kanë direktiva të
ndryshme
• Për shembull NASM nuk është i njëjtë me MASM.
9. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
9
Instruksione
• Asemblohen në kod makine nga asembluesi
• Ekzekutohen gjatë kohes runtime nga CPU-ja
• Ne do përdorim setin e instruksioneve Intel IA-32
• Një instruksion përmban:
• Etiketën(Label) (me opsion)
• Mnemonikën(Mnemonic) (nevojitet)
• Operandë(Operand) (varet nga instruksioni)
• Komente(Comment) (me opsion)
10. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
10
Etiketat
• Vepron si shenues vendi
• Shenon adresën (ofsetin) e kodit dhe të dhënave
• Ndjekin rregullat e identifikuesve
• Etiketa Data
• Duhet të jenë unike
• shembull: myArray (nut ndiqet nga dy pika)
• Etiketa Code
• Objektivi i instruksioneve jump dhe loop
• shembull: L1: (i ndjekur nga dy pika)
11. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
11
Mnemonikat dhe Operandët
• Mnemonika Instruksioni
• ndihmesa kujtese
• shembuj: MOV, ADD, SUB, MUL, INC, DEC
• Operandët
• konstante
• shprehje konstante
• regjistër
• kujtesë (data label)
Konstantet dhe shprehjet konstante shpesh quhen vlera
imediate (immediate values)
12. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
12
Comentet
• Komentet janë të dobishme!
• sqarojnë pikësynimet e programuesit
• se kur ato shkruhen, dhe prej kujt
• informacione rishikimi
• teknika kodimi të ndërlikuara
• sqarime specifike për aplicacionin
• Komente të një rreshti të vetëm(Single-line)
• Fillojnë me pikëpresje(;)
• Komente me shumë rreshta(Multi-line)
• Fillojnë me direktivën COMMENT dhe një karakter të
zgjedhur nga programuesi
• Përfundojnë me të njëjtin karakter të zgjedhur nga
përdoruesi
13. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
13
Shembuj të Formës së Instruksioneve
• Pa operandë
• stc ; vendos flamurin Carry
• Një operand
• inc eax ; regjistër
• inc myByte ; kujtesë
• Dy operandë
• add ebx,ecx ; regjistër, regjistër
• sub myByte,25 ; kujtesë, konstante
• add eax,36 * 25 ; regjistër, shprehje konstante
14. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
14
Në Vazhdim
• Elementet bazë të gjuhës Assembly
• Shembull: Mbledhje dhe Zbritje me numra të plotë
• Asemblimi, Lidhja, dhe Ekzekutimi i Programeve
• Përcaktimi i të Dhënave
• Konstante Simbolike
• Programimi në Mënyrë Reale Adresimi(Real-Address
Mode)
15. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
15
Shembull: Mbledhje dhe Zbritje me numra të plotë
TITULLI Mbledhje dhe Zbritje (AddSub.asm)
; Ky program shton dhe zbret numra të plotë 32-bit.
INCLUDE Irvine32.inc
.code
main PROC
mov eax,10000h ; EAX = 10000h
add eax,40000h ; EAX = 50000h
sub eax,20000h ; EAX = 30000h
call DumpRegs ; afisho regjistrat
exit
main ENDP
END main
16. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
16
Shembull Daljeje(output)
Programi output, shfaq regjistrat dhe flamujtë:
EAX=00030000 EBX=7FFDF000 ECX=00000101 EDX=FFFFFFFF
ESI=00000000 EDI=00000000 EBP=0012FFF0 ESP=0012FFC4
EIP=00401024 EFL=00000206 CF=0 SF=0 ZF=0 OF=0
17. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
17
Standarte kodimi të sugjeruara (1 nga 2)
• Disa përafrime të kapitalizimit(shkruajtje me
shkronja të mëdha)
• mos kapitalizo asgjë
• kapitalizo gjithçka
• kapitalizo gjithë fjalët e rezervuara, duke përfshirë
mnemonikat e instruksioneve dhe emrat e regjistrave
• kapitalizo vetëm direktivat dhe operatorët
• Sugjerime të tjera
• Emrat e identifikuesve të jenë përshkrues
• lini hapësira përreth operatorëve
• lini rreshta bosh midis proçedurave
18. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
18
• Dhëmbëzime dhe hapësira boshe
• etiketat e segmentit code dhe data – pa dhembëzim
• instruksionet e ekzekutueshme – futuni 4-5 hapësira
• komentet: fillojini në kolonën 40-45, të rradhitura
vertikalisht
• 1-3 hapësira midis instruksioneve dhe operandëve të
tyre
• P.sh.: mov ax,bx
• 1-2 rreshta bosh midis proçedurave
Standarte kodimi të sugjeruara (2 nga 2)
19. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
19
Version Alternativ i AddSub
TITLE Mbledhje dhe Zbritje (AddSubAlt.asm)
; Ky program shton dhe zbret numra të plotë 32-bit.
.386
.MODEL flat,stdcall
.STACK 4096
ExitProcess PROTO, dwExitCode:DWORD
DumpRegs PROTO
.code
main PROC
mov eax,10000h ; EAX = 10000h
add eax,40000h ; EAX = 50000h
sub eax,20000h ; EAX = 30000h
call DumpRegs
INVOKE ExitProcess,0
main ENDP
END main
20. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
20
Shabllon Programi
TITLE Program Shabllon (Template.asm)
; Pershkrimi i Programit :
; Autori:
; Data e krijimit:
; Rishikimi(versioni):
; Data: Modifikuar nga:
INCLUDE Irvine32.inc
.data
; (vendos ketu variablat)
.code
main PROC
; (ndërfut ketu instruksionët e ekzekutueshme)
exit
main ENDP
; (ndërfut këtu proçedura shtesë)
END main
21. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
21
Në Vazhdim
• Elementet bazë të gjuhës Assembly
• Shembull: Mbledhje dhe Zbritje me numra të plotë
• Asemblimi, Lidhja, dhe Ekzekutimi i Programeve
• Përcaktimi i të Dhënave
• Konstante Simbolike
• Programimi në Mënyrë Reale Adresimi(Real-Address
Mode)
22. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
22
Asemblimi, Lidhja, dhe Ekzekutimi i Programeve
• Cikli Assemble-Link-Execute
• make32.bat
• Skedar Liste(Listing File)
• Skedari i Skemës(Map file)
23. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
23
Cikli Assemble-Link Execute
• Diagrama e mëposhtme përshkruan hapat për krijimin a programeve
burimorë duke ekzekutuar programet e kompiluara.
• Nëse kodi burimor modifikohet, Hapat 2 deri 4 mund të përsëritën.
Source
File
Object
File
Listing
File
Link
Library
Executable
File
Map
File
Output
Step 1: text editor
Step 2:
assembler
Step 3:
linker
Step 4:
OS loader
24. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
24
Skedar Liste
• Përdoreni për të parë si kompilohen programi
• Përmban
• kodin burimor(source code)
• adresat
• kodi objekt (machine language)
• emrat e segmenteve
• simbolet(variabla, proçedura dhe konstante)
• Shembull: addSub.lst
25. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
25
Skedar skeme(Map File)
• Informacion për çdo segment programi:
• adresë startimi
• adresë përfundimi
• madhësia(size)
• tipi i segmentit
• Shembull: addSub.map (versioni 16-bit)
26. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
26
Në Vazhdim
• Elementet bazë të gjuhës Assembly
• Shembull: Mbledhje dhe Zbritje me numra të plotë
• Asemblimi, Lidhja, dhe Ekzekutimi i Programeve
• Përcaktimi i të Dhënave
• Konstante Simbolike
• Programimi në Mënyrë Reale Adresimi(Real-Address
Mode)
27. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
27
Përcaktimi i të Dhënave
• Tipe të brëndshme të Dhënash
• Instruksione Përcaktimi të Dhënash
• Përcaktimi i të Dhënave BYTE dhe SBYTE
• Përcaktimi i të Dhënave WORD dhe SWORD
• Përcaktimi i të Dhënave DWORD dhe SDWORD
• Përcaktimi i të Dhënave QWORD
• Përcaktimi i të Dhënave TBYTE
• Përcaktimi i të Dhënave Numra Realë
• Rënditja Little Endian
• Shtimi i Variablave në Programin AddSub
• Deklarimi i të Dhënave të Painicializuara
28. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
28
Tipe të brëndshme të Dhenash (1 nga 2)
• BYTE, SBYTE
• 8-bit numër i plote pa shenjë; 8-bit numër i plote
me shenjë
• WORD, SWORD
• 16-bit numër i plote me & pa shenjë
• DWORD, SDWORD
• 32-bit numër i plote me & pa shenjë
• QWORD
• 64-bit numër i plote
• TBYTE
• 80-bit numër i plote
29. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
29
• REAL4
• 4-byte IEEE numër i shkurtër(short) real
• REAL8
• 8-byte IEEE numër i gjatë(long) real
• REAL10
• 10-byte IEEE numër i zgjeruar(extended) real
Tipe të brëndshme të Dhenash (2 nga 2)
30. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
30
Instruksione Përcaktimi të Dhënash
• Një set për paraqitjën dhe përcaktimin e të dhënave të
vendosura në hapësirën e kujtesës për një variabël.
• Mund të përcaktojë(me opsion) një emër (etiketë) në të dhëna
• Sintaksa:
[emri] direktiva inicializuesi [,inicializues] . . .
vlera1 BYTE 10
• Të gjithë inicializuesit përshtatën në të dhëna binare në kujtesë
31. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
31
Përcaktimi i të Dhënave BYTE dhe SBYTE
value1 BYTE 'A' ; konstante karakter
value2 BYTE 0 ; byte më i vogël pa shënjë
value3 BYTE 255 ; byte më i madh pa shënjë
value4 SBYTE -128 ; byte më i vogël me shënjë
value5 SBYTE +127 ; byte më i madh me shënjë
value6 BYTE ? ; byte i painicializuar
Secili nga sa vijojnë përcaktojnë një byte të thjeshtë hapësirë:
• MASM nuk ju parandalon nga inicializimi i një BYTE me vlerë
negative, por ai konsiderohet stil i keq.
• Nëse deklaroni një variabël SBYTE, korrigjuesi i gabimeve
(debugger) i Microsoft-it automatikisht do afishojë vlerën e tij
dhjetore me shenjë para.
32. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
32
Përcaktimi i Matricave me të Dhëna Byte
list1 BYTE 10,20,30,40
list2 BYTE 10,20,30,40
BYTE 50,60,70,80
BYTE 81,82,83,84
list3 BYTE ?,32,41h,00100010b
list4 BYTE 0Ah,20h,‘A’,22h
Shembuj përdorimi të shumë inicializuesve:
33. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
33
Përcaktimi i të Dhënave String (1 nga 3)
• Një string implementohet si një matricë karakteresh
• Pë lehtësi, zakonisht mbyllën në thonjëza
• Zakonisht ato përfundojnë me null
• Shembuj:
str1 BYTE “Shtypni emrin",0
str2 BYTE 'Error: halting program',0
str3 BYTE 'A','E','I','O','U'
greeting BYTE "Welcome to the Encryption Demo program "
BYTE "created by Kip Irvine.",0
34. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
34
Përcaktimi i të Dhënave String (2 nga 3)
• Për të vazhduar një string të vetëm përgjatë shumë
rreshtave, përfundoni çdo rresht me presje:
menu BYTE "Checking Account",0dh,0ah,0dh,0ah,
"1. Create a new account",0dh,0ah,
"2. Open an existing account",0dh,0ah,
"3. Credit the account",0dh,0ah,
"4. Debit the account",0dh,0ah,
"5. Exit",0dh,0ah,
"Choice> ",0
35. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
35
Përcaktimi i të Dhënave String (3 nga 3)
• Sekuenca e karaktereve End-of-line :
• 0Dh = carriage return
• 0Ah = line feed
str1 BYTE "Enter your name: ",0Dh,0Ah
BYTE "Enter your address: ",0
newLine BYTE 0Dh,0Ah,0
Ideja: Përcakto të gjitha stringjet e përdorur nga programet
tuaja në të njejtën zonë të segmentit të të dhënave.
36. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
36
Përdorimi i Operatorit DUP
• Përdor DUP për të alokuar (krijuar hapësirë për) një
matrice(array) ose string. Sintaksa:
numeruesi DUP ( argumenti )
• Numëruesi dhe argumenti duhet të jenë konstante
ose shprehje konstante
var1 BYTE 20 DUP(0) ; 20 bytes, të gjitha zero
var2 BYTE 20 DUP(?) ; 20 bytes, të painicializuar
var3 BYTE 4 DUP("STACK") ; 20 bytes: "STACKSTACKSTACKSTACK"
var4 BYTE 10,3 DUP(0),20 ; 5 bytes
37. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
37
Përcaktimi i të Dhënave WORD dhe SWORD
• Përcaktime Hapësire për numra të plotë 16-bit
• ose dopjo karaktere
• vlera të thjeshta ose shumëfishe
word1 WORD 65535 ; vlera më e madhe pa shenjë
word2 SWORD –32768 ; vlera më e vogël me shenjë
word3 WORD ? ; e painicializuar, pa shenjë
word4 WORD "AB" ; dopjo karaktere
myList WORD 1,2,3,4,5 ; matricë(array) me words
array WORD 5 DUP(?) ; matricë e painicializuar
38. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
38
Përcaktimi i të Dhënave DWORD dhe SDWORD
val1 DWORD 12345678h ; pa shenjë
val2 SDWORD –2147483648 ; me shenjë
val3 DWORD 20 DUP(?) ; matrice pa shenjë
val4 SDWORD –3,–2,–1,0,1 ; matrice me shenjë
Përcaktime Hapësire për numra të plotë 32-bit me & pa
shenjë:
39. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
39
Përcaktimi i të Dhënave QWORD, TBYTE, Reale
quad1 QWORD 1234567812345678h
val1 TBYTE 1000000000123456789Ah
rVal1 REAL4 -2.1
rVal2 REAL8 3.2E-260
rVal3 REAL10 4.6E+4096
ShortArray REAL4 20 DUP(0.0)
Përcaktime Hapësire për vlera quadwords,
tenbyte, dhe numra realë:
40. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
40
Rënditja Little Endian
• Të gjithë tipet e të dhënave më të mëdha se një byte
ruajnë byte-t e tyre individual në rend të kundërt(reverse
order). Byte-i më pak i rëndësishëm ndeshet në adresën
e parë (më të ulët) të kujtesës.
• Shembull:
val1 DWORD 12345678h
41. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
41
Shtim Variablash në AddSub
TITLE Mbledhje dhe Zbritje, Versioni 2 (AddSub2.asm)
; Ky program shton dhe zbret numra të plotë
; 32-bit pa shënjë dhe ruan shumën në një variabël.
INCLUDE Irvine32.inc
.data
val1 DWORD 10000h
val2 DWORD 40000h
val3 DWORD 20000h
finalVal DWORD ?
.code
main PROC
mov eax,val1 ; nis me 10000h
add eax,val2 ; shton 40000h
sub eax,val3 ; zbret 20000h
mov finalVal,eax ; ruan rezultatin (30000h)
call DumpRegs ; afishon regjistrat
exit
main ENDP
END main
42. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
42
Deklarim të Dhënash të Painicializuara
• Përdor direktivën .data? për të deklaruar një segment të
painicializuar të dhënash:
P.sh.:
.data
smallArray DWORD 10 DUP(0)
.data?
bigArray DWORD 5000 DUP(?)
P.sh.:
.data
smallArray DWORD 10 DUP(0)
bigArray DWORD 5000 DUP(?)
• Brënda segmentit, deklaroni variablat me inicializuesit “?” :
smallArray DWORD 10 DUP(?)
Avantazhe: madhësia e skedarit të programeve EXE zvogëlohet.
Në këtë rast, kursejmë 4 x 5000 bytes!
43. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
43
Në Vazhdim
• Elementet bazë të gjuhës Assembly
• Shembull: Mbledhje dhe Zbritje me numra të plotë
• Asemblimi, Lidhja, dhe Ekzekutimi i Programeve
• Përcaktimi i të Dhënave
• Konstante Simbolike
• Programimi në Mënyrë Reale Adresimi(Real-Address
Mode)
44. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
44
Konstante Simbolike
• Direktiva e Shenjës së Barazimit
• Llogaritja e Madhësisë së Matricave dhe Stringjeve
• Direktiva ByteEQU
• Direktiva TEXTEQU
45. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
45
Direktiva e Shenjës së Barazimit
• emri = shprehje
• Shprehja është një 32-bit integer (shprehje ose
konstante)
• Mund të ripërcaktohet
• emri quhet konstante simbolike
• Përdorimi i simboleve është një stil i mirë programimi
COUNT = 500
.
.
mov al,COUNT
46. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
46
Llogaritja e Madhësisë së një Matrice Byte
• Numeruesi i pozicionit aktual : $
• heq adresat e listës
• diferenca është numri i byte-ve
list BYTE 10,20,30,40
ListSize = ($ - list)
47. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
47
Llogaritja e Madhësisë së një Matrice Word
Pjestoni numrin total të byte-ve me 2 (madhësia e një
word)
list WORD 1000h,2000h,3000h,4000h
ListSize = ($ - list) / 2
48. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
48
Llogaritja e Madhësisë së një Matrice Doubleword
Pjestoni numrin total të byte-ve me 4 (madhësia e një
doubleword)
list DWORD 1,2,3,4
ListSize = ($ - list) / 4
49. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
49
Direktiva EQU
• Përcakton një simbol ose si integer ose si shprehje teksti.
• emri EQU shprehje
• emri EQU simbol
• emri EQU <teksti>
• Nuk mund të ripërcaktohet
PI EQU <3.1416>
pressKey EQU <“Shtypni një tast për të vazhduar...",0>
.data
prompt BYTE pressKey
matrix1 EQU 10 * 10
matrix2 EQU <10 * 10>
.data
M1 WORD matrix1 ; 100
M2 WORD matrix2 ; 10 * 10
50. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
50
Direktiva TEXTEQU
• Përcakton një simbol ose si integer ose si shprehje text.
• emri TEXTEQU <teksti>
• emri TEXTEQU textmacro
• emri TEXTEQU %constExpr
• Thirret një text macro
• Mund të ripërcaktohet
continueMsg TEXTEQU <“Dëshironi të vayhdini (PO/JO)?">
rowSize = 5
.data
prompt1 BYTE continueMsg
count TEXTEQU %(rowSize * 2) ; vlerëson shprehjen
move TEXTEQU <mov>
setupAL TEXTEQU <move al,count>
.code
setupAL ; gjenëron: "mov al,10"
51. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
51
Në Vazhdim
• Elementet bazë të gjuhës Assembly
• Shembull: Mbledhje dhe Zbritje me numra të plotë
• Asemblimi, Lidhja, dhe Ekzekutimi i Programeve
• Përcaktimi i të Dhënave
• Konstante Simbolike
• Programimi në Mënyrë Reale Adresimi(Real-
Address Mode)
52. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
52
Programimi në Mënyrë Reale Adresimi(1 nga 2)
• Gjenero Programe 16-bit MS-DOS
• Avantazhet
• Mundëson thirrjen e funksioneve MS-DOS dhe BIOS
• Nuk ka kufizime në aksesin në kujtesë
• Disadvantazhe
• Duhet të jetë i informuar edhe me segmentin edhe me
ofsetin
• Nuk mund të thërrasë funksione Win32 (Windows 95
dhe më të reja)
• Kujtesë e kufizuar në 640K për programin
53. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
53
• Kërkesat
• INCLUDE Irvine16.inc
• Inicializimi i DS në segmentin e të
dhënave:
mov ax,@data
mov ds,ax
Programimi në Mënyrë Reale Adresimi(1 nga 2)
54. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
54
Mbledhje dhe Zbritje, Versioni 16-Bit
TITLE Mbledhje dhe Zbritje, Versioni 2 (AddSub2r.asm)
INCLUDE Irvine16.inc
.data
val1 DWORD 10000h
val2 DWORD 40000h
val3 DWORD 20000h
finalVal DWORD ?
.code
main PROC
mov ax,@data ; inicializo DS
mov ds,ax
mov eax,val1 ; merr vlerën e parë
add eax,val2 ; shto vlerën e dytë
sub eax,val3 ; zbrit vlerën e tretë
mov finalVal,eax ; ruaj rezultatin
call DumpRegs ; afisho regjistrat
exit
main ENDP
END main
55. Pergatiti: Roland Vasili – Bazuar në Slidet e Kip Irvine
55
Përmbledhje
• Shprehje Integer, konstante karakter
• Direktiva – e interpretuar nga asembluesi
• Instruksioni – ekzekutohet në kohën runtime
• Segmentet code, data, dhe stack
• Skedarët source, listing, object, map dhe të
ekzekutueshëm
• Direktiva Përcaktimi të Dhënash :
• BYTE, SBYTE, WORD, SWORD, DWORD, SDWORD,
QWORD, TBYTE, REAL4, REAL8, and REAL10
• operatori DUP, numeruesi i pozicionit aktual($)
• Konstante Simbolike
• EQU dhe TEXTEQU