SlideShare a Scribd company logo
1 of 39
Download to read offline
Joyful Assembly Language
Kunio Miyamoto, Ph.D.
1
Assembly language tanka
Kunio Miyamoto, Ph.D.
2
About me
Copyright by Kunio Miyamoto 3
About me
It’s a Joke 
Copyright by Kunio Miyamoto 4
What is Tanka?
• Tanka is…
• Japanese Short Poem
• 5-7-5-7-7 Style
– Number is the letters of character in each part
• Includes “Kigo(季語)”
– “Kigo” is the season word
• Rule and style
5
In Wikipedia
• Tanka (短歌 "short poem") is a genre of
classical Japanese poetry and one of the
major genres of Japanese literature
• http://en.wikipedia.org/wiki/Tanka
Copyright by Kunio Miyamoto
Example
• 東海の小島の磯の白砂に
われ泣きぬれて
蟹(かに)とたはむる(石川啄木)
• On the white sand
Of the beach of a small island
In the Eastern Sea
I, my face streaked with tears,
Am playing with a crab(Takuboku Ishikawa)
Copyright by Kunio Miyamoto
Example
• 東海の小島の磯の白砂に
われ泣きぬれて
蟹(かに)とたはむる(石川啄木)
• On the white sand
Of the beach of a small island
In the Eastern Sea
I, my face streaked with tears,
Am playing with a crab(Takuboku Ishikawa)
Copyright by Kunio Miyamoto
とうかいの
こじまのいその
しろすなに
われなきぬれて
かにとたはむる
Example
• 東海の小島の磯の白砂に
われ泣きぬれて
蟹(かに)とたはむる(石川啄木)
• On the white sand
Of the beach of a small island
In the Eastern Sea
I, my face streaked with tears,
Am playing with a crab(Takuboku Ishikawa)
Copyright by Kunio Miyamoto
Remember
This Style
What is
assembly language tanka?
• Assembler TANKA is…
• Machine Language Short Poem(!)
• 5-7-5-7-7 Style
• Includes “Kigo(季語)”
– “Kigo” is the season word
• Rhythmic
e.g.: Ends or starts same code in each part
• Executable(!)
10
Example
.section .text
.global main
.type main, @function
main:
push $0x43412054
push $0x53524946
mov %esp, %ecx
xor %ebx, %ebx
inc %ebx
mov %ebx, %eax
add %eax, %eax
add %eax, %eax
nop
mov %eax, %edx
add %edx, %edx
int $0x80
add %edx, %esp
ret
Copyright by Kunio Miyamoto
ONLY
14 Instructions!
Runs on Linux/x86
Style?
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Copyright by Kunio Miyamoto
5bytes
5bytes
7bytes
7bytes
7bytes
Style?
Copyright by Kunio Miyamoto
Remember
This Style
Season Word?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Season Word?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
“FIRST AC” Is the
Season Word
of “June”
Rhythm?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Rhythm?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Same value
Rhythm?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Same value
Rhythm?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Refrain
Rhythm?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Same value
Same value
Refrain
Rhythmic!
Comparing Style
Copyright by Kunio Miyamoto
Assembly Language Tanka
Comparing Style
Copyright by Kunio Miyamoto
(Traditional) TankaAssembly Language Tanka
Comparing Style
Copyright by Kunio Miyamoto
(Traditional) TankaAssembly Language Tanka
Same
Style!
Executable?
Copyright by Kunio Miyamoto
Executable?
Copyright by Kunio Miyamoto
Of Course!
BTW
Copyright by Kunio Miyamoto 26
BTW
Copyright by Kunio Miyamoto 27
BTW
It’s a Joke 
Copyright by Kunio Miyamoto 28
Same
Style!
5 great assembly language
tankist
• Tankist = Assembly language tanka author
Copyright by Kunio Miyamoto
Copyright by Kunio Miyamoto
In other programming
language tanka?
• Shell Script(/bin/sh)
– line1: #!/bin/sh ← 9letters
Copyright by Kunio Miyamoto
In other programming
language tanka?
• Shell Script(/bin/sh)
– line1: #!/bin/sh ← 9letters
• C language
– Line1: main() ←6letter
Copyright by Kunio Miyamoto
In other programming
language tanka?
• Shell Script(/bin/sh)
– line1: #!/bin/sh ← 9letters
• C language
– Line1: main() ←6letter
Copyright by Kunio Miyamoto
Assembly language tanka is
useful?
Yes!
Learning the
• Assembly language programming
• Optimization
• Shellcode programming
etc…
Copyright by Kunio Miyamoto
Shellcode?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Shellcode?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
No 0x00!
Interesting?
Copyright by Kunio Miyamoto
Interesting?
At first, write!
Copyright by Kunio Miyamoto
Copyright by Kunio Miyamoto
Thank you!
If question,
Twitter: @wakatono
Facebook: https://www.facebook.com/wakatono
Search “wakatono” by Google

More Related Content

Viewers also liked

Compresseur hp heatpump
Compresseur hp heatpumpCompresseur hp heatpump
Compresseur hp heatpumpEUROPAGES
 
2. norma dasar adminstrasi negara
2. norma dasar adminstrasi negara2. norma dasar adminstrasi negara
2. norma dasar adminstrasi negaraDian Oktavia
 
Architects Seminar Kenzo tange
Architects Seminar Kenzo tangeArchitects Seminar Kenzo tange
Architects Seminar Kenzo tangeAniruddh Jain
 
Kenzo tange and tadao ando
Kenzo tange and tadao andoKenzo tange and tadao ando
Kenzo tange and tadao andovikashsaini78
 
Kenzo Tange- Architect
Kenzo Tange- ArchitectKenzo Tange- Architect
Kenzo Tange- Architectvinod singh
 

Viewers also liked (7)

Compresseur hp heatpump
Compresseur hp heatpumpCompresseur hp heatpump
Compresseur hp heatpump
 
Daimachi
DaimachiDaimachi
Daimachi
 
2. norma dasar adminstrasi negara
2. norma dasar adminstrasi negara2. norma dasar adminstrasi negara
2. norma dasar adminstrasi negara
 
Architects Seminar Kenzo tange
Architects Seminar Kenzo tangeArchitects Seminar Kenzo tange
Architects Seminar Kenzo tange
 
Kenzo Tange
Kenzo Tange Kenzo Tange
Kenzo Tange
 
Kenzo tange and tadao ando
Kenzo tange and tadao andoKenzo tange and tadao ando
Kenzo tange and tadao ando
 
Kenzo Tange- Architect
Kenzo Tange- ArchitectKenzo Tange- Architect
Kenzo Tange- Architect
 

Recently uploaded

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 

Recently uploaded (20)

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 

Joyful assembly language - Assembly Language Tanka