Send line feed if we get a carriage return in hello world.

Signed-off-by: Michael Neuling <mikey@neuling.org>
jtag-port
Michael Neuling 5 years ago
parent ce0205b262
commit b1c260599f

Binary file not shown.

@ -14,5 +14,7 @@ int main(void)
while (1) {
unsigned char c = getchar();
putchar(c);
if (c == 13) // if CR send LF
putchar(10);
}
}

Binary file not shown.

@ -514,19 +514,23 @@ e8010010ebc1fff0
7c0803a6ebe1fff8
3c4000014e800020
7c0802a63842a000
f821ffe1f8010010
60000000480001dd
386373a83c62ffff
6000000048000141
600000004800002d
480000a95463063e
4bffffec60000000
f8010010fbe1fff8
480001f5f821ffd1
3c62ffff60000000
4800015d386373c0
4800004960000000
7c7f1b7860000000
57ff063e5463063e
60000000480000bd
4082ffe02c1f000d
480000a93860000a
4bffffd060000000
0100000000000000
3c40000100000080
3c40000100000180
600000003842a000
6000000039228000
8929000039428008
419e00302f890000
418200302c090000
39290014e92a0000
7d204eaa7c0004ac
4182ffec71290001
@ -543,7 +547,7 @@ e86a00004082ffec
600000003842a000
6000000039228000
8929000039428008
419e002c2f890000
4182002c2c090000
39290014e92a0000
7d204eaa7c0004ac
4182ffec71290020
@ -557,48 +561,47 @@ e94a00005469063e
000000004e800020
0000000000000000
3842a0003c400001
fbc1fff07c0802a6
3bc3fffffbe1fff8
fbe1fff87c0802a6
3be3fffffbc1fff0
f821ffd1f8010010
2fbf00008ffe0001
38210030409e0010
4bfffe5c38600000
409e000c2b9f000a
2c3e00008fdf0001
3821003040820010
4bfffe3c38600000
4082000c281e000a
4bffff413860000d
4bffff397fe3fb78
4bffff397fc3f378
000000004bffffd0
0000028001000000
7d4348ae39200000
409e000c2f8a0000
4e8000207d234b78
4bffffe839290001
386000007c6a1b78
2c0900007d2a18ae
386300014d820020
000000004bfffff0
0000000000000000
3c40000100000000
3d20c0003842a000
7929002061290020
3842a0003c400001
610800203d00c000
7c0004ac79080020
3d20c0007d0046ea
6129000879080600
7c0004ac79290020
712900207d204eea
3d20c00041820018
7929002061290040
7d204eea7c0004ac
792906003d00c000
7908002061080008
7d0046ea7c0004ac
3940000071080020
3d40c00041820018
794a0020614a0040
7d4056ea7c0004ac
600000003d00c000
600000003d40c000
38e2800060000000
7908002061082000
3d00001cf9028008
7d29439261082000
79080fc37948f804
3940000141820080
6108200c3d00c000
7908002099470000
7c0004ac3940ff80
e94280087d4047aa
7d2057aa7c0004ac
7929c202e9428008
7c0004ac394a0004
794a0020614a2000
3d40001cf9428008
7d085392614a2000
794a0fc3792af804
3920000141820080
614a200c3d40c000
794a002099270000
7c0004ac3920ff80
e92280087d2057aa
7d004faa7c0004ac
7908c202e9228008
7c0004ac39290004
e92280087d004faa
3929000c39400003
7d404faa7c0004ac
39290010e9228008
@ -606,26 +609,53 @@ e92280087d2057aa
39400007e9228008
7c0004ac39290008
4e8000207d404faa
990700003d40c000
614a20183929ffff
7c0004ac794a0020
4e8000207d2057ea
994700003d20c000
612920183908ffff
7c0004ac79290020
4e8000207d004fea
0000000000000000
3c40000100000000
600000003842a000
2ea4000039228000
2c24000039228000
2f89000089290000
e922800860000000
41960024419e0030
2fa3000039400002
614a0001419e0008
41820024419e0030
2c23000039400002
614a000141820008
7c0004ac39290004
4e8000207d404faa
4bffffe039400000
6063000241960008
6063000241820008
7c0004ac39290020
4e8000207c604fea
0000000000000000
0000000000000000
6f57206f6c6c6548
000000000a646c72
0000000000000010
0141780400527a01
0000001800010c1b
fffffc2800000018
300e460000000070
000000019f7e4111
0000000000000010
0141780400527a01
0000001000010c1b
fffffc6800000018
0000000000000088
0000002c00000010
00000084fffffcdc
0000002800000000
fffffd4c00000040
4109450000000060
300e43029e019f00
42000e0a447e4111
0000000b4106dedf
0000006c00000010
00000028fffffd80
0000001000000000
fffffd9400000080
000000000000012c
0000009400000010
00000078fffffeac
0000000000000000

Loading…
Cancel
Save