Art of 64-bit Assembly

Support Files

     

 

Back to RandallHyde.com

Chapter 1:

Listings 1-2 & 1-3

Build/run commands for listing1-2.cpp & listing1-3.asm:

ml64 /c listing1-3.asm
cl listing1-2.cpp listing1-3.obj
listing1-2

Listing 1-4

This is an example program that doesn't really get built

Listings 1-5 & 1-6

Build/run commands for listing1-5.asm & listing1-6.cpp:

ml64 /c listing1-5.asm
cl listing1-6.cpp listing1-5.obj
listing1-6

Listings 1-7 & 1-8

Build/run commands for c.cpp & listing1-8.asm:

build listing1-8
listing1-8

Chapter 2:

Listing 2-1

Build/run commands for listing2-1.asm:

build listing2-1
listing2-1

Listing 2-2

Build/run commands for listing2-2.asm:

build listing2-2
listing2-2

Listing 2-3

Build/run commands for listing2-3.asm:

build listing2-3
listing2-3

Listing 2-4

Build/run commands for listing2-4.asm:

build listing2-4
listing2-4

Chapter 3:

Listing 3-1

Build/run commands for listing3-1.asm:

build listing3-1
listing3-1

Listing 3-2

Build/run commands for listing3-2.asm:

build listing3-2
listing3-2

Chapter 4:

Listing 4-1

Build/run commands for listing4-1.asm:

build listing4-1
listing4-1

Listing 4-2

Build/run commands for listing4-2.asm:

build listing4-2
listing4-2

Listing 4-3

Build/run commands for listing4-3.asm:

build listing4-3
listing4-3

Listing 4-4

Build/run commands for listing4-4.asm:

build listing4-4
listing4-4

Listing 4-5

Build/run commands for listing4-5.asm:

build listing4-5
listing4-5

Listing 4-6

Build/run commands for listing4-6.asm:

build listing4-6
listing4-6

Listing 4-7

Build/run commands for listing4-7.asm:

build listing4-7
listing4-7

 

Chapter 5:

Listing 5-1

Build/run commands for listing5-1.asm:

ml64 /c /Fl listing5-1.asm

Listing 5-2

Build/run commands for listing5-2.asm:

ml64 /c /Fl listing5-2.asm

Listing 5-3

Build/run commands for listing5-3.asm:

ml64 /c /Fl listing5-3.asm

Listing 5-4

Build/run commands for listing5-4.asm:

ml64 /c /Fl listing5-4.asm

Listing 5-5

Build/run commands for listing5-5.asm:

ml64 /c /Fl listing5-5.asm

Listing 5-6

Build/run commands for listing5-6.asm:

ml64 /c /Fl listing5-6.asm

Listing 5-7

Build/run commands for listing5-7.asm:

ml64 /c /Fl listing5-7.asm

Listing 5-8

Build/run commands for listing5-8.asm:

ml64 /c /Fl listing5-8.asm

Listing 5-9

Build/run commands for listing5-9.asm:

ml64 /c /Fl listing5-9.asm

Listing 5-10

Build/run commands for listing5-10.asm:

ml64 /c /Fl listing5-10.asm

Listing 5-11

Build/run commands for listing5-11.asm:

build listing5-11
listing5-11

Listing 5-12

Build/run commands for listing5-12.asm:

build listing5-12
listing5-12

Listing 5-13

Build/run commands for listing5-13.asm:

build listing5-13
listing5-13

Listing 5-14

Build/run commands for listing5-14.asm:

build listing5-14
listing5-14

Listing 5-15

Build/run commands for listing5-15.asm:

build listing5-15
listing5-15

Chapter 6:

Listing 6-1

Build/run commands for listing6-1.asm:

build listing6-1
listing6-1

Listing 6-2

Build/run commands for listing6-2.asm:

build listing6-2
listing6-2

Listing 6-3

Build/run commands for listing6-3.asm:

build listing6-32
listing6-3

Listing 6-4

Build/run commands for listing6-4.asm:

build listing6-4
listing6-4

Listing 6-5

Build/run commands for listing6-5.asm:

build listing6-5
listing6-5

Listing 6-6

Build/run commands for listing6-6.asm:

build listing6-6
listing6-6

Chapter 7:

Listing 7-1

Build/run commands for listing7-1.asm:

ml64 /c listing7-1.asm

Listing 7-2

Build/run commands for listing7-2.asm:

ml64 /c listing7-2.asm

Listing 7-3

Build/run commands for listing7-3.asm:

ml64 /c /Fl listing7-3.asm

Listing 7-4

Build/run commands for listing7-4.asm:

build listing7-4
listing7-4

Listing 7-5

Build/run commands for listing7-5.asm:

build listing7-5
listing7-5

Listing 7-6

Build/run commands for listing7-6.asm:

build listing7-6
listing7-6

Listing 7-7

Build/run commands for listing7-7.asm:

build listing7-7
listing7-7

Chapter 8:

Listing 8-1

Build/run commands for listing8-1.asm:

build listing8-1
listing8-1

Listing 8-2

Build/run commands for listing8-2.asm:

build listing8-2
listing8-2

Listing 8-3

Build/run commands for listing8-3.asm:

build listing8-3
listing8-3

Listing 8-4

Build/run commands for listing8-3.asm:

build listing8-4
listing8-4

Listing 8-5

Build/run commands for listing8-5.asm:

build listing8-5
listing8-5

Listing 8-6

Build/run commands for listing8-6.asm:

build listing8-6
listing8-6

Listing 8-7

Build/run commands for listing8-7.asm:

build listing8-7
listing8-7

Listing 8-8

Build/run commands for listing8-8.asm:

build listing8-8
listing8-8

Listing 8-9

Build/run commands for listing8-9.asm:

build listing8-9
listing8-9

Listing 8-10

Build/run commands for listing8-10.asm:

build listing8-10
listing8-10

 

Chapter 9:

Listing 9-1

Build/run commands for listing9-1.asm:

build listing9-1
listing9-1

Listing 9-2

Build/run commands for listing9-2.asm:

build listing9-2
listing9-2

 

Listing 9-3

Build/run commands for listing9-3.asm:

build listing9-3
listing9-3

 

Listing 9-4

Build/run commands for listing9-4.asm:

build listing9-4
listing9-4

 

Listing 9-5

Build/run commands for listing9-5.asm:

build listing9-5
listing9-5

 

Listing 9-6

Build/run commands for listing9-6.asm:

build listing9-6
listing9-6

 

Listing 9-7

Build/run commands for listing9-7.asm:

build listing9-7
listing9-7

 

Listing 9-8

Build/run commands for listing9-8.asm:

build listing9-8
listing9-8

 

Listing 9-9

Build/run commands for listing9-9.asm:

build listing9-9
listing9-9

 

Listing 9-10

Build/run commands for listing9-10.asm:

build listing9-10
listing9-10

 

Listing 9-11

 

Listing 9-12

 

Listing 9-13

Listing 9-14

Build/run commands for listing9-14.asm:

build listing9-14
listing9-14

 

Listing 9-15

Build/run commands for listing9-15.asm:

build listing9-15
listing9-15

Listing 9-16

Build/run commands for listing9-16.asm:

build listing9-16
listing9-16

Listing 9-17

Build/run commands for listing9-17.asm:

build listing9-17
listing9-17

Listing 9-18

Build/run commands for listing9-18.asm:

build listing9-18
listing9-18

Listing 9-19

Build/run commands for listing9-19.asm:

build listing9-19
listing9-19

 

Chapter 10:

Listing 10-1

Build/run commands for listing10-1.asm:

cl listing10-1.cpp
build listing10-1
listing10-1

Listing 10-2

Build/run commands for listing10-2.asm:

build listing10-2
listing10-2

 

Chapter 11:

Listing 11-1

Build/run commands for listing11-1.asm:

build listing11-1
listing11-1

Listing 11-2

Build/run commands for listing11-1.asm:

build listing11-2
listing11-2

Listing 11-3

Build/run commands for listing11-3.asm:

build listing11-3
listing11-3

Listing 11-4

Build command for listing11-4.asm:

build listing11-4

Listing 11-5

Build/run commands for listing11-5.asm:

build listing11-5
listing11-5

Listing 11-6

Build/run commands for listing11-6.asm:

build listing11-6
listing11-6

 

Appendix C:

build command for hw64.asm:
ml64 hw64.asm /link /subsystem:console /entry:main