text stringlengths 1 1.05M |
|---|
global _main
extern _printf
section .data
hello_str: db 'Hello world!', 0
format: db 'my_strlen() returned %d', 10, 0
section .text
my_strlen:
push ebp
mov ebp, esp
mov edi, [ebp+8]
xor al, al
or ecx, 0xFFFFFFFF
repnz scasb
add ecx, 2
neg ecx
mov eax, ecx
mov esp, ebp
pop ebp
ret
_main:
push he... |
#define __USE_MINGW_ANSI_STDIO 0
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
template <class T>
using ordered_set = __gnu_pbds::tree<T, __gnu_pbds::null_type, less<T>, __gnu_pbds::rb_tree_tag, __gnu_pbds::tree_order_statistics_node_update... |
; A008464: a(n) = 2^(2n+3) - 2^n*(n+3).
; 1,5,24,108,464,1936,7936,32192,129792,521472,2091008,8375296,33525760,134156288,536739840,2147205120,8589344768,34358493184,137436332032,549750308864,2199011721216,8796068904960,35184321757184,140737383497728,562949735317504
add $0,2
mov $1,2
pow $1,$0
sub $2,$0
add $2,$1
mul ... |
<%
from pwnlib import constants
from pwnlib.shellcraft import arm
%>
<%page args="filename, fd=1"/>
<%docstring>
Opens a file and writes its contents to the specified file descriptor.
Example:
>>> f = tempfile.mktemp()
>>> write(f, 'FLAG\n')
>>> run_assembly(shellcraft.arm.linux.cat(f)).recvline()
... |
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24) )
stsd_start:
dd BE(stsd_end - stsd_start)
db "stsd"
dd BE(0)
dd BE(1)
; not enough fields: 'stsd' parsing will overflow
stsd_end:
; put a fake box to ensure this error won't be hidden by a bitstream... |
db 0 ; species ID placeholder
db 90, 82, 87, 76, 75, 85
; hp atk def spd sat sdf
db POISON, GROUND ; type
db 45 ; catch rate
db 194 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F100 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/nidoque... |
; A093960: a(1) = 1, a(2) = 2, a(n + 1) = n*a(1) + (n-1)*a(2) + ...(n-r)*a(r + 1) + ... + a(n).
; 1,2,4,11,29,76,199,521,1364,3571,9349,24476,64079,167761,439204,1149851,3010349,7881196,20633239,54018521,141422324,370248451,969323029,2537720636,6643838879,17393796001,45537549124,119218851371,312119004989,817138163596,2... |
; A108587: Floor(n/(1-sin(1))).
; Submitted by Jamie Morken(s4)
; 6,12,18,25,31,37,44,50,56,63,69,75,82,88,94,100,107,113,119,126,132,138,145,151,157,164,170,176,182,189,195,201,208,214,220,227,233,239,246,252,258,264,271,277,283,290,296,302,309,315,321,328,334,340,346
add $0,1
mov $1,82
mul $1,$0
div $1,13
mov $0,$1
|
; Substitute for z80 cpdr instruction
; aralbrec 02.2008
; flag-perfect emulation of cpdr
SECTION code_crt0_sccz80
PUBLIC __z80asm__cpdr
IF __CPU_GBZ80__
EXTERN __z80asm__ex_sp_hl
ENDIF
__z80asm__cpdr:
jr nc, enterloop
call enterloop
; scf clears N and H - must set carry th... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/base/dragdrop/os_exchange_data_provider_aurax11.h"
#include "base/logging.h"
#include "base/memory/ref_counted_memory.h"
#include "base/... |
;original test file by Colley, additions by Herb Johnson HRJ 2/2014
;
; Z-80 Opcodes in Alphabetical Order
;
; This file is used to test the Z-80 cross-assembler. The opcodes are in
; alphabetical order rather than the usual numerical order so that I can
; compare the output to my Z-80 assembly-language referenc... |
// Run at: https://peterhigginson.co.uk/AQA/
// r12 marks the pointer to the image data in memory
mov r12, #img_data
// r11 is the current position in VRAM which is being written to
mov r11, #256
// r0 signifies the row of pixels (item of image data in the img_data section) which is being drawn
mov r0, #0
loop:
... |
.data
myDouble: .double 3.1425926535
zeroDouble: .double 0.0
.text
ldc1 $f2, myDouble
ldc1 $f0, zeroDouble
# we have to define a pair, because it's double precision
li $v0, 3 # double
add.d $f12, $f2, $f0
syscall
|
; A198845: 8*6^n-1.
; 7,47,287,1727,10367,62207,373247,2239487,13436927,80621567,483729407,2902376447,17414258687,104485552127,626913312767,3761479876607,22568879259647,135413275557887,812479653347327,4874877920083967,29249267520503807
mov $1,6
pow $1,$0
mul $1,8
sub $1,1
|
;
; Fast background save
;
; Generic version (just a bit slow)
;
; $Id: bkrestore2.asm $
;
IF !__CPU_INTEL__ & !__CPU_GBZ80__
SECTION code_clib
PUBLIC bkrestore
PUBLIC _bkrestore
EXTERN putsprite
EXTERN asm_clga
.bkrestore
._bkrestore
; __FASTCALL__ !! HL = ... |
; A024719: a(n) = (1/3)*(2 + Sum_{k=0..n} C(3k,k)).
; 1,2,7,35,200,1201,7389,46149,291306,1853581,11868586,76380826,493606726,3201081874,20821158234,135776966762,887393271311,5811082966886,38119865826421,250447855600321,1647729357535486,10854207824989831,71581930485576631
mov $21,$0
mov $23,$0
add $23,1
lpb $23,1
cl... |
/*
This file is part of:
NoahFrame
https://github.com/ketoo/NoahGameFrame
Copyright 2009 - 2018 NoahFrame(NoahGameFrame)
File creator: lvsheng.huang
NoahFrame is open-source software and you can redistribute it and/or modify
it under the terms of the License; b... |
;======================================================================
;
; BIT MODE SOUND DRIVER FOR SBC V2 USING BIT 0 OF RTC DRIVER
;
;======================================================================
;
; LIMITATIONS - CPU FREQUENCY ADJUSTMENT LIMITED TO 1MHZ RESOLUTION
; QUARTER TONES NOT SUPPORTED
;... |
; int vsprintf(char *s, const char *format, void *arg)
SECTION code_clib
SECTION code_stdio
PUBLIC _vsprintf
EXTERN asm_vsprintf
_vsprintf:
pop af
exx
pop de
exx
pop de
pop bc
push bc
push de
push de
push af
jp asm_vsprintf
|
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG5092 DB '0000000000000000', 0aH, 00H
ORG $+6
$SG5094 DB '1111111111111111', 0aH, 00H
ORG $+6
$SG5095 DB '2222222222222222', 0aH, 00H
CONST ENDS
PUBLIC __local_s... |
; nasm -felf64 strcopy.asm && ld strcopy.o && ./a.out
global _start
section .text
_start:
; strcopy
;
mov rdi, buffer
mov rsi, message
xor rdx, rdx ; store size in RDX
copy_loop:
mov cl, [rsi]
cmp cl, 0
... |
; double hypot(double x, double y)
SECTION code_fp_math48
PUBLIC cm48_sccz80_hypot
EXTERN am48_hypot, cm48_sccz80p_dparam2
cm48_sccz80_hypot:
call cm48_sccz80p_dparam2
; AC'= y
; AC = x
jp am48_hypot
|
[org 0x7c00]
mov bx, HELLO
call print
call print_nl
mov bx, GOODBYE
call print
call print_nl
mov dx, 0x12fe
call print_hex
jmp $
%include "boot_sect5_print.asm"
%include "boot_sect5_hex.asm"
HELLO:
db 'Hello, World!', 0
GOODBYE:
db 'Goodbye',0
times 510-($-$$) db 0
dw 0xaa55
|
db 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45
db 48, 51, 54, 57, 59, 62, 65, 67, 70, 73, 75, 78, 80, 82, 85, 87
db 89, 91, 94, 96, 98, 100, 102, 103, 105, 107, 108, 110, 112, 113, 114, 116
db 117, 118, 119, 120, 121, 122, 123, 123, 124, 125, 125, 126, 126, 126, 126, 126
db 127, 126, 126, 126, 126, ... |
db DEX_CUBONE ; pokedex id
db 50 ; base hp
db 50 ; base attack
db 95 ; base defense
db 35 ; base speed
db 40 ; base special
db GROUND ; species type 1
db GROUND ; species type 2
db 190 ; catch rate
db 87 ; base exp yield
INCBIN "pic/ymon/cubone.pic",0,1 ; 55, sprite dimensions
dw CubonePicFront
dw CubonePicBack
; attac... |
TILESET_GREEN_GRASS_BANK_NUMBER = CURRENT_BANK_NUMBER
tileset_green_grass:
; Tileset's size in tiles (zero means 256)
.byt (tileset_green_grass_end-tileset_green_grass_tiles)/16
tileset_green_grass_tiles:
; Full backdrop color
;
; 00000000
; 00000000
; 00000000
; 00000000
; 00000000
; 00000000
; 00000000
; 00000000... |
MODULE __printf_handle_d
SECTION code_clib
PUBLIC __printf_handle_d
EXTERN __printf_number
__printf_handle_d:
ld c,1 ;signed
jp __printf_number
|
; Multiplication using repeated addition
mov r0, #4
mov r1, #2
mov a, #0
mov r4, #0
loop:
add a, r0
jnc no_carry
inc r4
no_carry:
djnz loop
mov r3, a
end
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x18db, %rax
nop
nop
cmp %r14, %r14
mov $0x6162636465666768, %rdx
movq %rdx, %xmm2
movups %xmm2, (%rax)
nop
nop
nop
xor $61225, %rsi
lea addresses_normal_ht+0x1912b, ... |
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <matchstar>:
return 0;
}
// matchstar: search for c*re at beginning of text
int matchstar(int c, char *re, char *text)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push ... |
SaffronGym_Object:
db $2e ; border block
db 32 ; warps
warp 8, 17, 2, -1
warp 9, 17, 2, -1
warp 1, 3, 22, SAFFRON_GYM
warp 5, 3, 15, SAFFRON_GYM
warp 1, 5, 18, SAFFRON_GYM
warp 5, 5, 8, SAFFRON_GYM
warp 1, 9, 27, SAFFRON_GYM
warp 5, 9, 16, SAFFRON_GYM
warp 1, 11, 5, SAFFRON_GYM
warp 5, 11, 13, SAFFRON_GYM
... |
; Use Thing Utility through HOTKEY System II
; Copyright 1989 Jochen Merz
section utility
xdef ut_thjmp
xref ut_thvec
include dev8_keys_qdos_sms
include dev8_keys_thg
include dev8_keys_err
include dev8_keys_sys
;+++
; Use Thing Utility through HOTKEY Syst... |
; Copyright (c) 2003-2018 RCH3 (nebulae@nebulae.online)
; Copyright (c) 2019 Nebulae Foundation, LLC. All rights reserved.
; Copyright (c) 2006, Intel Corporation. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following condi... |
_getnumproc_test: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
#include "fcntl.h"
int main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ZX_01_OUTPUT_CHAR_32
; romless driver for standard 32x24 output
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Windowed output terminal for fixed width fonts.
;
; ;;;;;;;;;;;;;;;;;;;;
; DRIVER CLASS DIAGRAM
; ;;;;;;;;;;;;;;;;;;;;
;
... |
; A017586: (12n+5)^6.
; 15625,24137569,594823321,4750104241,22164361129,75418890625,208422380089,496981290961,1061520150601,2081951752609,3814697265625,6611856250609,10942526586601,17416274304961
mul $0,12
add $0,5
pow $0,6
|
/// HEADER
#include "create_map_message_adapter.h"
/// PROJECT
#include <csapex/model/node_facade_impl.h>
#include <csapex_core_plugins/parameter_dialog.h>
/// PROJECT
#include <csapex/command/add_connection.h>
#include <csapex/command/command_factory.h>
#include <csapex/command/meta.h>
#include <csapex/model/graph_... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r9
push %rax
push %rsi
// Faulty Load
lea addresses_A+0x1a957, %rsi
nop
nop
and $24177, %r10
mov (%rsi), %r9d
lea oracles, %r10
and $0xff, %r9
shlq $12, %r9
mov (%r10,%r9,1), %r9
pop %rsi
pop %rax
pop %... |
; A004068: Number of atoms in a decahedron with n shells.
; 0,1,7,23,54,105,181,287,428,609,835,1111,1442,1833,2289,2815,3416,4097,4863,5719,6670,7721,8877,10143,11524,13025,14651,16407,18298,20329,22505,24831,27312,29953,32759,35735,38886,42217,45733,49439,53340,57441,61747,66263,70994,75945,81121,86527,92168,98049,10... |
; Automatic pulldown window handling 1993 Jochen Merz V2.00
section utility
include dev8_keys_wman
include dev8_keys_wstatus
include dev8_keys_k
include dev8_keys_qdos_pt
include dev8_mac_xref
xdef ut_pulld_l ; pulldown window here
xdef ut_pullat_l ; pulldown window at given position
;+++
; This rou... |
/**
* 11023. 더하기 3
*
* 작성자: xCrypt0r
* 언어: C++14
* 사용 메모리: 1,984 KB
* 소요 시간: 0 ms
* 해결 날짜: 2020년 8월 23일
*/
#include <iostream>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int num, sum = 0;
while (cin >> num)
{
sum += num;
}
cout <... |
.file "simple_math_more_types.c"
.section .tdata
REG_BANK:
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.dword 0
.text
.section .rodata
.align 3
.LC0:
.string "Signed Ops:"
.align 3
.LC1:
.string "Addition: %d\n"
.align 3
... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; SetMem64.nasm
;
; Abstract:
;
; SetMem64 function
;
; Notes:
;
;------------------------------------... |
; A164136: a(n) = 11*n*(n+1).
; 0,22,66,132,220,330,462,616,792,990,1210,1452,1716,2002,2310,2640,2992,3366,3762,4180,4620,5082,5566,6072,6600,7150,7722,8316,8932,9570,10230,10912,11616,12342,13090,13860,14652,15466,16302,17160,18040,18942,19866,20812,21780,22770,23782,24816,25872,26950,28050,29172,30316,31482,32670,33... |
/*
* MIT License
*
* Copyright (c) 2020 Jenna Reher (jreher@caltech.edu)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the right... |
;
; CPC Maths Routines
;
; August 2003 **_|warp6|_** <kbaccam /at/ free.fr>
;
; $Id: exp.asm,v 1.2 2007/07/21 21:28:22 dom Exp $
;
INCLUDE "#cpcfirm.def"
INCLUDE "#cpcfp.def"
XLIB exp
XDEF expc
LIB get_para
.exp call get_para
call firmware
.expc defw CPCFP_FLO_EXP
ret
|
; A138452: a(n) = ((n-th prime)^6-(n-th prime)^3))/2.
; 28,351,7750,58653,885115,2412306,12066328,23519511,74011861,297399466,443736945,1282837878,2375017660,3160641771,5389555753,11082106126,21090164131,25760073690,45229040703,64049963005,75666918636,121543481241,163469900791,248490292996,416485546128,530759560150,597... |
; A021081: Decimal expansion of 1/77.
; 0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2,9,8,7,0,1,2
mod $0,6
lpb $0
add $0,1
mov $1,1
mov $3,$0
mov $0,2
sub $1,$3
add $2... |
; A131757: Period 10: repeat 3, 3, 3, -7, 3, 3, -7, 3, 3, -7.
; 3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7
mul $0,-3
mod $0,10
div $... |
//First ver.
class Solution {
public:
ListNode *addTwoNumbers(ListNode *l1, ListNode *l2) {
int sum, carry, val1, val2;
ListNode *s1 = l1, *s2 = l2, *s3, *temp;
s3 = new ListNode();
temp = s3;
sum = l1->val + l2->val;
carry = sum / 10;
temp->val = sum % 10;
... |
; Program 8.9
; x86_64 Investment Calculator - NASM (64-bit)
; Copyright (c) 2017 Hall & Slonka
; This program calculates a monthly deposit needed to reach an investment
; value, given the future value, interest rate (%), and duration (months)
extern _printString ; declare external functions
extern _printDouble
ex... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: PCL 4 download font driver
FILE: ibm4019Info.asm
AUTHOR: Dave Durran
REVISION HISTORY:
Name Date Description
---- ---- ----------... |
/*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publi... |
#include "TileShader.h"
#include "DiffuseShaderComponent.h"
#include "SamplerStateShaderComponent.h"
#include "WVPShaderComponent.h"
#include "LightShaderComponent.h"
TileShader::TileShader(D3DDevice device, D3DDeviceContext deviceContext)
: BasicShader(device, deviceContext)
{
this->_vsFilename = L"..\\Assets\\Shad... |
;;;;;;;;;;;;;;;;
; test stack operations
;;;;;;;;;;;;;;;;
; required for execution on the NES
.org $8000
;;;;;;;;;;;;;;;;
; basic stack operations
;;;;;;;;;;;;;;;;
LDA #$01 ; set acc
PHA ; push acc to stack
LDA #$02 ; set acc
PHA ; push acc to stack
LDA #$00 ... |
; A058319: Coefficients (multiplied by 48) in Alternative Extended Simpson's rule for numerical integration.
; 17,59,43,49,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48
mov $3,2
m... |
; A062758: Product of squares of divisors of n.
; 1,4,9,64,25,1296,49,4096,729,10000,121,2985984,169,38416,50625,1048576,289,34012224,361,64000000,194481,234256,529,110075314176,15625,456976,531441,481890304,841,656100000000,961,1073741824,1185921,1336336,1500625,101559956668416,1369,2085136,2313441,6553600000000,1681,... |
SECTION "Map Scripts 1", ROMX
INCLUDE "maps/Pokecenter2F.asm"
INCLUDE "maps/TradeCenter.asm"
INCLUDE "maps/Colosseum.asm"
INCLUDE "maps/TimeCapsule.asm"
INCLUDE "maps/MobileTradeRoom.asm"
INCLUDE "maps/MobileBattleRoom.asm"
INCLUDE "maps/DebugRoom.asm"
SECTION "Map Scripts 2", ROMX
INCLUDE "maps/TwinleafTown.asm"
I... |
; A127053: Expansion of 1/(1+9*x*c(x)), where c(x) = g.f. for Catalan numbers A000108.
; Submitted by Jon Maiga
; 1,-9,72,-585,4734,-38358,310662,-2516481,20383110,-165104478,1337341896,-10832484474,87743071332,-710719065000,5756823757890,-46630274845905,377705217526470,-3059412293786310,24781239462988800,-200728040080... |
// Copyright 2003-2009 The RE2 Authors. All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Regular expression interface RE2.
//
// Originally the PCRE C++ wrapper, but adapted to use
// the new automata-based regular expression engines.
#in... |
;*************************************************************
;*
;* TINY BASIC FOR INTEL 8080
;* VERSION 1.0
;* BY LI-CHEN WANG
;* 10 JUNE, 1976
;* @COPYLEFT
;* ALL WRONGS RESERVED
;*
;********************... |
PUBLIC AsmEnableVmxOperation
PUBLIC AsmVmxVmcall
.code _text
;------------------------------------------------------------------------
AsmEnableVmxOperation PROC PUBLIC
push rax ; Save the state
xor rax,rax ; Clear the RAX
mov rax,cr4
or rax,02000h ; Set the 14th bit
mov cr4,... |
global _start
section .text
_start:
; Socket()
mov eax, 102 ;socket syscall #
mov ebx, 1 ;socket subfunction #
push 0
push 1
push 2 ; same arguments as the tcp bind assembly
mov ecx, esp ; put stack pointer in ecx
int 0x80 ;interrupt
mov edi, eax ; saving file descriptor (return value)
; Connect()
mov eax, 102 ... |
; A157951: a(n) = 128*n + 1.
; 129,257,385,513,641,769,897,1025,1153,1281,1409,1537,1665,1793,1921,2049,2177,2305,2433,2561,2689,2817,2945,3073,3201,3329,3457,3585,3713,3841,3969,4097,4225,4353,4481,4609,4737,4865,4993,5121,5249,5377,5505,5633,5761,5889,6017,6145,6273,6401,6529,6657,6785,6913,7041,7169,7297,7425,7553,7... |
// Autogenerated from CppSourceCreator
// Created by Sc2ad
// =========================================================================
// Begin includes
// Including type: UnityEngine.XR.XRMeshSubsystemDescriptor
#include "UnityEngine/XR/XRMeshSubsystemDescriptor.hpp"
// Including type: UnityEngine.XR.XRMeshSubsystem
... |
; A037817: Number of i such that d(i)<=d(i-1), where Sum{d(i)*10^i: i=0,1,...,m} is base 10 representation of n.
; 0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,0
sub $0,6
mov $2,$0
sub $... |
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return 0;
}
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %rax
push %rbp
push %rbx
push %rdx
// Load
lea addresses_UC+0x5f34, %r11
nop
nop
nop
xor $37660, %rbx
mov (%r11), %rdx
nop
nop
nop
cmp %rdx, %rdx
// Faulty Load
lea addresses_D+0x4034, %rax
add %rbx, %r... |
org 0h
mov a, #0FFh
mov p1, a
mov a, p1
mov b, #100
div ab
add a, #30h
mov 40h, a
mov a, b
mov b, #10
div ab
add a, #30h
mov 41h, a
mov a, b
add a, #30h
mov 42h, a
end
|
; A test file which displays both a scrollable gradient and vertical waves on layer 1 and 2.
; To be inserted as a level.
!FreeRAM_GradBank = $7F ;\
!FreeRAM_RedGreen = $1343 ; | Just to note: These all belong together. That means, these addresses aren't supposed to be converted if you use SA-1
!FreeRAM_Blue = $16A3 ... |
; A059542: Beatty sequence for 1 + 1/log(2).
; Submitted by Christian Krause
; 2,4,7,9,12,14,17,19,21,24,26,29,31,34,36,39,41,43,46,48,51,53,56,58,61,63,65,68,70,73,75,78,80,83,85,87,90,92,95,97,100,102,105,107,109,112,114,117,119,122,124,127,129,131,134,136,139,141,144,146,149,151,153,156,158,161,163,166,168,170,173,1... |
;all sources Licensed under the 3-Clause BSD License
;Copyright 2021, Martin 'enthusi' Wendt / PriorArt
;-----------------------------------------------------------
;Demo tune VBDemo01.s3m is Licensed under the 3-Clause BSD License
;Copyright 2021, Kamil 'jammer' Wolnikowski
begin_instruments
EVEN 4
INSTRUMENT_TAB... |
SECTION rodata_clib
PUBLIC CRT_FONT
defc CRT_FONT = 15616
|
#include <signal.h>
#include <unistd.h>
#include <string>
#include "PolarisManager.h"
#include "workflow/WFFacilities.h"
#include "workflow/WFHttpServer.h"
using namespace polaris;
static WFFacilities::WaitGroup register_wait_group(1);
static WFFacilities::WaitGroup deregister_wait_group(1);
void sig_handler(int sig... |
; ========================================================
COMMENT #
DATAVERS.ASM
Copyright (c) 1991 - Microsoft Corp.
All rights reserved.
Microsoft Confidential
johnhe - 03/03/89
END COMMENT #
;========================================================
include BIOS_IO.INC
include MODEL.INC
.CODE
; ======... |
; dev8_uti_cv_hexda_asm
include dev8_keys_err
section utility
xdef cv_hexda
;+++
; convert hex-long to decimal-ascii
;
; ENTRY EXIT
; D0 error
; D1.l hex preserved
; D2.w how many bytes smashed
; A1 buffer preserved
;
; Error return: err.imem if d2 too high
; Condition co... |
SECTION code_driver
PUBLIC _acia_interrupt
EXTERN aciaRxCount, aciaRxIn, aciaRxBuffer
EXTERN aciaTxCount, aciaTxOut, aciaTxBuffer, aciaControl
EXTERN ACIA_STATUS_ADDR, ACIA_RDRF, ACIA_DATA_ADDR, ACIA_RX_SIZE, ACIA_RX_FULLISH
EXTERN ACIA_TDRE, ACIA_TX_SIZE, ACIA_TEI_MASK, ACIA_TDI_RTS0, A... |
// --------------------------------------------------------------------------------
// propfind.cpp
// Copyright (c)1998 Microsoft Corporation, All Rights Reserved
// Greg Friedman
// --------------------------------------------------------------------------------
#include <pch.hxx>
#include "propfind.h"
#incl... |
; A140461: Numbers in A008364 but not in A038511.
; Submitted by Jon Maiga
; 1,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281
seq $0,96489 ; Noncomposite numbers n... |
_CeladonMartRoofText_484ee::
text "Give her which"
line "drink?"
done
_CeladonMartRoofText_484f3::
text "Yay!"
para "FRESH WATER!"
para "Thank you!"
para "You can have this"
line "from me!@"
text_end
_CeladonMartRoofText_484f9::
text "<PLAYER> received"
line "@"
text_ram wcf4b
text "!@"
text_end
_Ce... |
INCLUDE "config_private.inc"
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC console_01_output_fzx_oterm_msg_putc
PUBLIC console_01_output_fzx_oterm_msg_putc_raw
EXTERN l_jpix, l_offset_ix_de, asm_fzx_putc
EXTERN __fzx_puts_newline, __fzx_puts_newline_set_y
EXTERN console_01_output_fzx_proc_linefeed
... |
; void *z80_indr(void *dst, uint16_t port)
SECTION code_clib
SECTION code_z80
PUBLIC _z80_indr
EXTERN asm_z80_indr
_z80_indr:
pop af
pop hl
pop bc
push bc
push hl
push af
jp asm_z80_indr
|
[bits 16]
;; Switch 32bits to Protected Mode.
switch_to_pm:
cli ; Tell the CPU to ignore Interrupts for now.
lgdt [gdt_descriptor] ; Tell the CPU about our GDT.
;; cr0 is a control register, we can't use litterals to set it.
mov eax, cr0 ; Get cr0.
... |
; A027000: a(n) = Lucas(2n+3) - (6n+4).
; 1,13,54,171,487,1324,3525,9297,24418,64015,167691,439128,1149769,3010261,7881102,20633139,54018415,141422212,370248333,969322905,2537720506,6643838743,17393795859,45537548976,119218851217,312119004829,817138163430,2139295485627,5600748293623,14662949395420,38388099892821,100501... |
; A185387: E.g.f. exp(x)+log(1/(1-x)).
; 1,2,2,3,7,25,121,721,5041,40321,362881,3628801,39916801,479001601,6227020801,87178291201,1307674368001,20922789888001,355687428096001,6402373705728001,121645100408832001,2432902008176640001,51090942171709440001,1124000727777607680001,25852016738884976640001,620448401733239439360... |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
8010... |
#include <boost/numeric/interval/ext/integer.hpp>
|
/*
* spiffs_hydrogen.c
*
* Created on: Jun 16, 2013
* Author: petera
*/
#include "spiffs.h"
#include "spiffs_nucleus.h"
extern "C" {
#if SPIFFS_CACHE == 1
static s32_t spiffs_fflush_cache(spiffs *fs, spiffs_file fh);
#endif
#if SPIFFS_BUFFER_HELP
u32_t SPIFFS_buffer_bytes_for_filedescs(spiffs *fs, u32_t ... |
#include <QtGlobal>
// Automatically generated by extract_strings.py
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *bitcoin_strings[] = {
QT_TRANSLATE_NOOP("bitcoin-core", ""
"%s, you must set a rpcpassword in the configuration file:\n"
"%s\n"
"It is recomme... |
; A249032: First differences of A075326.
; 3,6,4,5,5,6,4,6,4,6,4,5,5,6,4,5,5,6,4,5,5,6,4,6,4,6,4,5,5,6,4,6,4,6,4,5,5,6,4,6,4,6,4,5,5,6,4,5,5,6,4,5,5,6,4,6,4,6,4,5,5,6,4,5,5,6,4,5,5,6,4,6,4,6,4,5,5,6,4,5,5,6,4,5,5,6,4,6,4,6,4,5,5,6,4,6,4,6,4,5,5,6,4,6,4,6,4,5,5,6,4,5,5,6,4,5,5,6,4,6,4,6,4,5,5,6,4,6,4,6,4,5,5,6,4,6,4,6,4... |
; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
;; ==++==
;;
;;
;; ==--==
#include "ksarm.h"
#include "asmconstants.h"
#include "asmmacros.h"
IMPORT VarargPIn... |
#include <iostream>
using namespace std;
int main()
{
int a, b, c;
cin >> a >> b >> c;
if ((a < b) && (a < c))
{
(b < c ? cout << a << endl << b << endl << c << endl : cout << a << endl << c << endl << b << endl) << endl;
}
else
{
if ((b < a) && (b < c))
{
... |
; A009984: Powers of 40.
; 1,40,1600,64000,2560000,102400000,4096000000,163840000000,6553600000000,262144000000000,10485760000000000,419430400000000000,16777216000000000000,671088640000000000000,26843545600000000000000,1073741824000000000000000,42949672960000000000000000,1717986918400000000000000000,6871947673600000000... |
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2020, Peter Elliott <pelliott@ualberta.ca>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistr... |
org $02b5c4 ; -- moving right routine 135c4
jsl WarpRight
org $02b665 ; -- moving left routine
jsl WarpLeft
org $02b713 ; -- moving down routine
jsl WarpDown
org $02b7b4 ; -- moving up routine
jsl WarpUp
org $02bd80
jsl AdjustTransition
nop
;turn off linking doors -- see .notRoomLinkDoor label in Bank02.asm
org $02b5a... |
; A060820: (2*n-1)^2 + (2*n)^2.
; 5,25,61,113,181,265,365,481,613,761,925,1105,1301,1513,1741,1985,2245,2521,2813,3121,3445,3785,4141,4513,4901,5305,5725,6161,6613,7081,7565,8065,8581,9113,9661,10225,10805,11401,12013,12641,13285,13945,14621,15313,16021,16745,17485,18241,19013,19801,20605,21425,22261,23113,23981,24865,... |
#include "extensions/tracers/xray/xray_tracer_impl.h"
#include "common/common/macros.h"
#include "common/common/utility.h"
#include "extensions/tracers/xray/localized_sampling.h"
#include "extensions/tracers/xray/tracer.h"
#include "extensions/tracers/xray/xray_configuration.h"
namespace Envoy {
namespace Extensions... |
1000ae00: 55 push ebp
1000ae01: 8b ec mov ebp,esp
1000ae03: 83 ec 7c sub esp,0x7c
1000ae06: a1 10 00 01 10 mov eax,ds:0x10010010
1000ae0b: 33 c5 xor eax,ebp
1000ae0d: 89 45 fc mov DWORD PTR [ebp-0x4],eax
1000ae10: 8b 45... |
dnl Intel Pentium mpn_add_n/mpn_sub_n -- mpn addition and subtraction.
dnl
dnl P5: 2.375 cycles/limb
dnl Copyright (C) 1992, 1994, 1995, 1996, 1999, 2000 Free Software
dnl Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and... |
#include "c3.h"
#include "c3_static.h"
#include "aui.h"
#include "aui_ldl.h"
#include "aui_ui.h"
#include "aui_window.h"
#include "aui_gamespecific.h"
#include "patternbase.h"
#include "pattern.h"
#include "primitives.h"
#include "colorset.h" // g_colorSet
#include "ldl_data.hpp"
extern aui_UI *g_ui;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.