na6
This commit is contained in:
parent
6138fc8f1c
commit
522d5e2176
|
@ -1,5 +1,6 @@
|
|||
#include <stdint.h>
|
||||
|
||||
|
||||
int strlen(char *s)
|
||||
{
|
||||
char *p = s;
|
||||
|
@ -36,13 +37,17 @@ char *alloc(int n)
|
|||
|
||||
int main() {
|
||||
|
||||
|
||||
struct key{
|
||||
char *word;
|
||||
char *ptr;
|
||||
int8_t count;
|
||||
} keytab[10];
|
||||
|
||||
struct key * Ptr = (struct key *) alloc(100);
|
||||
struct key * ptr1 = (struct key *) alloc(100);
|
||||
ptr1[0].ptr = p1;
|
||||
ptr1[0].count = strlen(ptr1[0].ptr);
|
||||
|
||||
|
||||
|
||||
asm ("nop");
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue