Presentation is loading. Please wait.

Presentation is loading. Please wait.

Friday’s lecture again. Using E-TDD environment Build the tests you want to pass Build the code Test the code.

Similar presentations


Presentation on theme: "Friday’s lecture again. Using E-TDD environment Build the tests you want to pass Build the code Test the code."— Presentation transcript:

1 Friday’s lecture again

2 Using E-TDD environment Build the tests you want to pass Build the code Test the code

3

4

5

6 Using E-TDD environment Using the C++ tests, build the ASM tests (cut and paste is all that is needed) Build the ASM stubs (Makes sure that you can load the load into the processor Test the code stub – program will run but fail the tests as only stubs Build the code Test the code

7

8

9 Build the stub 1 Find the name mangling needed Just build the code VDSP will tell you the necessary name- mangled names Cut and paste the names

10 Build the stub 2

11

12

13 Expect error messages But not these ones Code review Missing a ; at end of line

14 Need to learn to READ And listen to assembler That semicolon is not the one that was missing There is one semicolon too many in the define statement

15 Less errors But I am still not listening to the assembler

16 Look on reference sheet R0 *= R1; Page 2, column 3

17

18

19 Assembled But failed tests What of GS is happening

20

21

22

23 Build the ASM test by cut-and-paste

24 Stubs assemble But unexpected messages

25 Build the ASM test by cut-and-paste CORRECTLY

26

27 Wrong method Incoming parameters – come in R0 Outgoing parameters – go in R0 Return values – go in R0 Same problem on the MIPS

28

29

30


Download ppt "Friday’s lecture again. Using E-TDD environment Build the tests you want to pass Build the code Test the code."

Similar presentations


Ads by Google